@@ -50,7 +50,7 @@ discard block |
||
| 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 |
||
| 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 | ); |