Passed
Pull Request — 3.x (#37)
by butschster
15:05
created
src/FileRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
         foreach ($directories as $directory) {
52 52
             foreach ($this->getFiles($directory) as $f) {
53
-                if (! \class_exists($f['class'], false)) {
53
+                if (!\class_exists($f['class'], false)) {
54 54
                     //Attempting to load migration class (we can not relay on autoloading here)
55 55
                     require_once($f['filename']);
56 56
                 }
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
     public function registerMigration(string $name, string $class, string $body = null): string
73 73
     {
74
-        if (empty($body) && ! \class_exists($class)) {
74
+        if (empty($body) && !\class_exists($class)) {
75 75
             throw new RepositoryException(
76 76
                 "Unable to register migration '{$class}', representing class does not exists"
77 77
             );
Please login to merge, or discard this patch.