Completed
Push — master ( 46416a...42773f )
by Song
02:05
created
src/Traits/HasAssets.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -66,12 +66,12 @@  discard block
 block discarded – undo
66 66
     public static function css($css = null)
67 67
     {
68 68
         if (!is_null($css)) {
69
-            self::$css = array_merge(self::$css, (array)$css);
69
+            self::$css = array_merge(self::$css, (array) $css);
70 70
 
71 71
             return;
72 72
         }
73 73
 
74
-        static::$css = array_merge(static::$css, static::baseCss(), (array)$css);
74
+        static::$css = array_merge(static::$css, static::baseCss(), (array) $css);
75 75
 
76 76
         return view('admin::partials.css', ['css' => array_unique(static::$css)]);
77 77
     }
@@ -105,12 +105,12 @@  discard block
 block discarded – undo
105 105
     public static function js($js = null)
106 106
     {
107 107
         if (!is_null($js)) {
108
-            self::$js = array_merge(self::$js, (array)$js);
108
+            self::$js = array_merge(self::$js, (array) $js);
109 109
 
110 110
             return;
111 111
         }
112 112
 
113
-        static::$js = array_merge(static::baseJs(), static::$js, (array)$js);
113
+        static::$js = array_merge(static::baseJs(), static::$js, (array) $js);
114 114
 
115 115
         return view('admin::partials.js', ['js' => array_unique(static::$js)]);
116 116
     }
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     public static function script($script = '')
139 139
     {
140 140
         if (!empty($script)) {
141
-            self::$script = array_merge(self::$script, (array)$script);
141
+            self::$script = array_merge(self::$script, (array) $script);
142 142
 
143 143
             return;
144 144
         }
Please login to merge, or discard this patch.
src/Admin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -212,10 +212,10 @@
 block discarded – undo
212 212
             'middleware' => config('admin.route.middleware'),
213 213
         ];
214 214
 
215
-        app('router')->group($attributes, function ($router) {
215
+        app('router')->group($attributes, function($router) {
216 216
 
217 217
             /* @var \Illuminate\Routing\Router $router */
218
-            $router->group([], function ($router) {
218
+            $router->group([], function($router) {
219 219
 
220 220
                 /* @var \Illuminate\Routing\Router $router */
221 221
                 $router->resource('auth/users', 'UserController');
Please login to merge, or discard this patch.