@@ -118,9 +118,9 @@ discard block |
||
118 | 118 | |
119 | 119 | if (!is_null($css)) { |
120 | 120 | if ($appendCss) { |
121 | - return self::$appendCss = array_merge(self::$appendCss, (array)$css); |
|
121 | + return self::$appendCss = array_merge(self::$appendCss, (array) $css); |
|
122 | 122 | } else { |
123 | - return self::$css = array_merge(self::$css, (array)$css); |
|
123 | + return self::$css = array_merge(self::$css, (array) $css); |
|
124 | 124 | } |
125 | 125 | } |
126 | 126 | |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | $script = collect(static::$script) |
243 | 243 | ->merge(static::$deferredScript) |
244 | 244 | ->unique() |
245 | - ->map(function ($line) { |
|
245 | + ->map(function($line) { |
|
246 | 246 | return $line; |
247 | 247 | //@see https://stackoverflow.com/questions/19509863/how-to-remove-js-comments-using-php |
248 | 248 | $pattern = '/(?:(?:\/\*(?:[^*]|(?:\*+[^*\/]))*\*+\/)|(?:(?<!\:|\\\|\')\/\/.*))/'; |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | |
268 | 268 | $style = collect(static::$style) |
269 | 269 | ->unique() |
270 | - ->map(function ($line) { |
|
270 | + ->map(function($line) { |
|
271 | 271 | return preg_replace('/\s+/', ' ', $line); |
272 | 272 | }); |
273 | 273 |