@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | { |
| 39 | 39 | foreach ($config as $code => $class) { |
| 40 | 40 | if (!class_exists($class)) { |
| 41 | - throw new FactoryException('Фабрика не сможет создать такой объект: '.$class); |
|
| 41 | + throw new FactoryException('Фабрика не сможет создать такой объект: ' . $class); |
|
| 42 | 42 | } |
| 43 | 43 | } |
| 44 | 44 | |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | */ |
| 55 | 55 | public function make(string $code) |
| 56 | 56 | { |
| 57 | - if (! empty($this->resolved[$code])) { |
|
| 57 | + if (!empty($this->resolved[$code])) { |
|
| 58 | 58 | return $this->resolved[$code]; |
| 59 | 59 | } |
| 60 | 60 | |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | */ |
| 84 | 84 | protected function getResolvedFromString(string $code) |
| 85 | 85 | { |
| 86 | - if (! $this->entityExists($code)) { |
|
| 86 | + if (!$this->entityExists($code)) { |
|
| 87 | 87 | throw new FactoryException('Фабрика не может сделать такую сущность'); |
| 88 | 88 | } |
| 89 | 89 | |