@@ -43,7 +43,7 @@ |
||
| 43 | 43 | |
| 44 | 44 | foreach ($factories as $name => $factory) {
|
| 45 | 45 | if (is_string($factory)) {
|
| 46 | - if (! $adapter instanceof FactoryClassAwareInterface) {
|
|
| 46 | + if (!$adapter instanceof FactoryClassAwareInterface) {
|
|
| 47 | 47 | $exceptionMessage = sprintf( |
| 48 | 48 | 'The adapter class \'%s\' does not support factory class registration for service \'%s\'', |
| 49 | 49 | get_class($adapter), |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | public function create(array $config = []): Container |
| 30 | 30 | {
|
| 31 | 31 | $adapter = $config['adapter'] ?? null; |
| 32 | - $logger = $config['logger'] ?? new NullLogger(); |
|
| 32 | + $logger = $config['logger'] ?? new NullLogger(); |
|
| 33 | 33 | |
| 34 | 34 | if (null === $adapter) {
|
| 35 | 35 | throw new FactoryException(sprintf( |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | )); |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | - if (! $adapter instanceof ContainerAdapterInterface) {
|
|
| 41 | + if (!$adapter instanceof ContainerAdapterInterface) {
|
|
| 42 | 42 | throw new FactoryException(sprintf( |
| 43 | 43 | 'The \'adapter\' configuration option must be a object of type \'%s\'; \'%s\' provided in \'%s\'', |
| 44 | 44 | ContainerAdapterInterface::class, |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | )); |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | - if (! $logger instanceof LoggerInterface) {
|
|
| 50 | + if (!$logger instanceof LoggerInterface) {
|
|
| 51 | 51 | throw new FactoryException(sprintf( |
| 52 | 52 | 'The \'logger\' configuration option must be a object of type \'%s\'; \'%s\' provided in \'%s\'', |
| 53 | 53 | LoggerInterface::class, |