Completed
Pull Request — master (#351)
by
unknown
02:06
created
src/Services/SlugService.php 1 patch
Spacing   +3 added lines, -3 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 131
                 $value = (int) $value;
132 132
             }
133 133
 
134 134
             return $value;
135
-        }, (array)$from);
135
+        }, (array) $from);
136 136
 
137 137
         return join($sourceStrings, ' ');
138 138
     }
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
             return end($suffix);
303 303
         }
304 304
 
305
-        $list->transform(function ($value, $key) use ($len) {
305
+        $list->transform(function($value, $key) use ($len) {
306 306
             return intval(substr($value, $len));
307 307
         });
308 308
 
Please login to merge, or discard this patch.