Passed
Push — develop ( 4e1663...e14823 )
by Aristeides
03:47
created
modules/webfonts/class-kirki-modules-webfonts-async.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 		$fonts_to_load = $this->googlefonts->fonts;
88 88
 
89 89
 		if ( ! empty( $fonts_to_load ) && 'preconnect' === $relation_type ) {
90
-			$urls[] = array(
90
+			$urls[ ] = array(
91 91
 				'href' => 'https://fonts.gstatic.com',
92 92
 				'crossorigin',
93 93
 			);
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 					$weights[ $key ] = str_replace( array( 'regular', 'bold', 'italic' ), array( '400', '', 'i' ), $value );
121 121
 				}
122 122
 			}
123
-			$this->fonts_to_load[] = $font . ':' . join( ',', $weights ) . ':cyrillic,cyrillic-ext,devanagari,greek,greek-ext,khmer,latin,latin-ext,vietnamese,hebrew,arabic,bengali,gujarati,tamil,telugu,thai';
123
+			$this->fonts_to_load[ ] = $font . ':' . join( ',', $weights ) . ':cyrillic,cyrillic-ext,devanagari,greek,greek-ext,khmer,latin,latin-ext,vietnamese,hebrew,arabic,bengali,gujarati,tamil,telugu,thai';
124 124
 		}
125 125
 		if ( ! empty( $this->fonts_to_load ) ) {
126 126
 			Kirki_Modules_Webfont_Loader::$load = true;
Please login to merge, or discard this patch.