@@ -43,8 +43,8 @@ discard block |
||
| 43 | 43 | |
| 44 | 44 | if ( |
| 45 | 45 | null === $container |
| 46 | - || ! $container instanceof ContainerInterface |
|
| 47 | - || ! $container->has(ImportCommand::class) |
|
| 46 | + || !$container instanceof ContainerInterface |
|
| 47 | + || !$container->has(ImportCommand::class) |
|
| 48 | 48 | ) {
|
| 49 | 49 | return; |
| 50 | 50 | } |
@@ -59,6 +59,6 @@ discard block |
||
| 59 | 59 | */ |
| 60 | 60 | public function getConfig(): array |
| 61 | 61 | {
|
| 62 | - return require __DIR__ . '/../config/module.config.php'; |
|
| 62 | + return require __DIR__.'/../config/module.config.php'; |
|
| 63 | 63 | } |
| 64 | 64 | } |
@@ -29,13 +29,13 @@ discard block |
||
| 29 | 29 | |
| 30 | 30 | $loader = new Loader(); |
| 31 | 31 | |
| 32 | - if (! empty($options['directories'])) {
|
|
| 32 | + if (!empty($options['directories'])) {
|
|
| 33 | 33 | foreach ($options['directories'] as $directory) {
|
| 34 | 34 | $loader->loadFromDirectory($directory); |
| 35 | 35 | } |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | - if (! empty($options['fixtures'])) {
|
|
| 38 | + if (!empty($options['fixtures'])) {
|
|
| 39 | 39 | foreach ($this->getFixtures($container, $options['fixtures'], $requestedName) as $fixture) {
|
| 40 | 40 | $loader->addFixture($fixture); |
| 41 | 41 | } |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | } |
| 69 | 69 | $fixture = $container->get($fixture); |
| 70 | 70 | } |
| 71 | - if (! $fixture instanceof FixtureInterface) {
|
|
| 71 | + if (!$fixture instanceof FixtureInterface) {
|
|
| 72 | 72 | throw new ServiceNotCreatedException( |
| 73 | 73 | sprintf( |
| 74 | 74 | 'The data fixture must be an object of type \'%s\'; \'%s\' provided in \'%s\'', |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | */ |
| 33 | 33 | public function getCollectionReference(string $name): iterable |
| 34 | 34 | {
|
| 35 | - if (! $this->getCollectionReference($name)) {
|
|
| 35 | + if (!$this->getCollectionReference($name)) {
|
|
| 36 | 36 | throw new \OutOfBoundsException(sprintf('Collection reference to "%s" does not exist', $name));
|
| 37 | 37 | } |
| 38 | 38 | return $this->collectionReferences[$name]; |