diff --git a/src/wp-includes/fonts/class-wp-font-face.php b/src/wp-includes/fonts/class-wp-font-face.php
index 50d0268a70..07cd3d6de9 100644
--- a/src/wp-includes/fonts/class-wp-font-face.php
+++ b/src/wp-includes/fonts/class-wp-font-face.php
@@ -229,7 +229,7 @@ class WP_Font_Face {
private function get_style_element() {
$attributes = $this->generate_style_element_attributes();
- return "\n";
+ return "\n";
}
/**
diff --git a/tests/phpunit/tests/fonts/font-face/wpFontFace/generateAndPrint.php b/tests/phpunit/tests/fonts/font-face/wpFontFace/generateAndPrint.php
index d079d2808b..d10ea500e8 100644
--- a/tests/phpunit/tests/fonts/font-face/wpFontFace/generateAndPrint.php
+++ b/tests/phpunit/tests/fonts/font-face/wpFontFace/generateAndPrint.php
@@ -31,7 +31,7 @@ class Tests_Fonts_WPFontFace_GenerateAndPrint extends WP_UnitTestCase {
*/
public function test_should_generate_and_print_given_fonts( array $fonts, $expected ) {
$font_face = new WP_Font_Face();
- $style_element = "\n";
+ $style_element = "\n";
$expected_output = sprintf( $style_element, $expected );
$this->expectOutputString( $expected_output );
diff --git a/tests/phpunit/tests/fonts/font-face/wpPrintFontFaces.php b/tests/phpunit/tests/fonts/font-face/wpPrintFontFaces.php
index 9cc67fb39a..2fa64559c2 100644
--- a/tests/phpunit/tests/fonts/font-face/wpPrintFontFaces.php
+++ b/tests/phpunit/tests/fonts/font-face/wpPrintFontFaces.php
@@ -55,7 +55,7 @@ class Tests_Fonts_WpPrintFontFaces extends WP_Font_Face_UnitTestCase {
);
$expected_output = <<
+
@@ -76,7 +76,7 @@ CSS;
}
private function get_expected_styles_output( $styles ) {
- $style_element = "\n";
+ $style_element = "\n";
return sprintf( $style_element, $styles );
}
}