Passed
Branch master (e5ef3f)
by Vladyslav
03:45
created
Category
src/Start.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         }
50 50
         $this->params = array_splice($argv, 2);
51 51
         $di = new Di();
52
-        $di->setShared('db', function () {
52
+        $di->setShared('db', function() {
53 53
             return Factory::load(require PathProvider::getConfig());
54 54
         });
55 55
         $di->set('modelsManager', new Manager());
Please login to merge, or discard this patch.
src/command/MigrationRun.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     {
73 73
         $migrations = scandir(PathProvider::getMigrationDir());
74 74
         $ignore = ['.', '..'];
75
-        return array_filter($migrations, function ($item) use ($ignore) {
75
+        return array_filter($migrations, function($item) use ($ignore) {
76 76
             return !in_array($item, $ignore);
77 77
         });
78 78
     }
Please login to merge, or discard this patch.