Completed
Pull Request — master (#488)
by
unknown
01:22
created
src/Services/SlugService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
             return $this->model->__toString();
152 152
         }
153 153
 
154
-        $sourceStrings = array_map(function ($key) {
154
+        $sourceStrings = array_map(function($key) {
155 155
             $value = data_get($this->model, $key);
156 156
             if (is_bool($value)) {
157 157
                 $value = (int) $value;
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
             return end($suffix);
354 354
         }
355 355
 
356
-        $list->transform(function ($value, $key) use ($len) {
356
+        $list->transform(function($value, $key) use ($len) {
357 357
             return (int) substr($value, $len);
358 358
         });
359 359
 
Please login to merge, or discard this patch.