@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | $migrations = []; |
| 54 | 54 | |
| 55 | 55 | foreach ($this->getFilesIterator() as $f) { |
| 56 | - if (! \class_exists($f['class'], false)) { |
|
| 56 | + if (!\class_exists($f['class'], false)) { |
|
| 57 | 57 | //Attempting to load migration class (we can not relay on autoloading here) |
| 58 | 58 | require_once($f['filename']); |
| 59 | 59 | } |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | |
| 74 | 74 | public function registerMigration(string $name, string $class, string $body = null): string |
| 75 | 75 | { |
| 76 | - if (empty($body) && ! \class_exists($class)) { |
|
| 76 | + if (empty($body) && !\class_exists($class)) { |
|
| 77 | 77 | throw new RepositoryException( |
| 78 | 78 | "Unable to register migration '{$class}', representing class does not exists" |
| 79 | 79 | ); |