Completed
Push — master ( 348067...ae37c1 )
by Zach
03:29 queued 01:39
created
src/Helpers/helpers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
      */
11 11
     function dd()
12 12
     {
13
-        array_map(function ($x) {
13
+        array_map(function($x) {
14 14
             $string = (new Dump(null, true))->variable($x);
15 15
 
16 16
             echo PHP_SAPI == 'cli' ? strip_tags($string).PHP_EOL : $string;
Please login to merge, or discard this patch.
src/Migrations/Repositories/DatabaseMigrationRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     {
82 82
         $ran = $this->getRan($ran, $steps);
83 83
 
84
-        return array_map(function ($item) {
84
+        return array_map(function($item) {
85 85
             return $item['migration'];
86 86
         }, $ran);
87 87
     }
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     {
98 98
         $ran = $this->getRan($ran);
99 99
 
100
-        return array_map(function ($item) {
100
+        return array_map(function($item) {
101 101
             return $item['batch'];
102 102
         }, $ran);
103 103
     }
Please login to merge, or discard this patch.
src/Migrations/FileDate/FileDateMigrator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,11 +99,11 @@
 block discarded – undo
99 99
     {
100 100
         $files = scandir($this->config->getMigrationDirectory());
101 101
 
102
-        $files = array_filter($files, function ($file) {
102
+        $files = array_filter($files, function($file) {
103 103
             return strpos($file, '.php') !== false;
104 104
         });
105 105
 
106
-        $files = array_map(function ($file) {
106
+        $files = array_map(function($file) {
107 107
             return str_replace('.php', '', $file);
108 108
         }, $files);
109 109
 
Please login to merge, or discard this patch.
src/DB/Factories/ModelFactoryBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
         }
97 97
 
98 98
         if (is_array($made)) {
99
-            return array_map(function (Model $model) {
99
+            return array_map(function(Model $model) {
100 100
                 $model->save();
101 101
 
102 102
                 return $model;
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
      */
155 155
     protected function callClosureAttributes(array $attributes)
156 156
     {
157
-        return array_map(function ($attribute) use ($attributes) {
157
+        return array_map(function($attribute) use ($attributes) {
158 158
             if ($attribute instanceof \Closure) {
159 159
                 return $attribute($attributes);
160 160
             }
Please login to merge, or discard this patch.