Completed
Push — master ( 4fd0f8...3b1739 )
by Colin
07:33
created
src/Services/SlugService.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -125,14 +125,14 @@  discard block
 block discarded – undo
125 125
             return $this->model->__toString();
126 126
         }
127 127
 
128
-        $sourceStrings = array_map(function ($key) {
128
+        $sourceStrings = array_map(function($key) {
129 129
             $value = data_get($this->model, $key);
130 130
             if (is_bool($value)) {
131
-                $value = (int)$value;
131
+                $value = (int) $value;
132 132
             }
133 133
 
134 134
             return $value;
135
-        }, (array)$from);
135
+        }, (array) $from);
136 136
 
137 137
         return implode($sourceStrings, ' ');
138 138
     }
@@ -316,8 +316,8 @@  discard block
 block discarded – undo
316 316
             return end($suffix);
317 317
         }
318 318
 
319
-        $list->transform(function ($value, $key) use ($len) {
320
-            return (int)substr($value, $len);
319
+        $list->transform(function($value, $key) use ($len) {
320
+            return (int) substr($value, $len);
321 321
         });
322 322
 
323 323
         // find the highest value and return one greater.
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function register()
28 28
     {
29
-        $this->app->singleton(SluggableObserver::class, function ($app) {
29
+        $this->app->singleton(SluggableObserver::class, function($app) {
30 30
             return new SluggableObserver(new SlugService(), $app['events']);
31 31
         });
32 32
     }
Please login to merge, or discard this patch.