Completed
Push — master ( 91a49a...60dbaf )
by Zach
9s
created
src/Migrations/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/Migrator.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/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.