Completed
Pull Request — master (#5461)
by
unknown
33s
created
src/Traits/HasAssets.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -118,9 +118,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.