@@ -136,11 +136,11 @@ discard block |
||
136 | 136 | * @throws \Interop\Container\Exception\ContainerException |
137 | 137 | * @throws RuntimeException |
138 | 138 | */ |
139 | - public function createFormatter($container, $formatter) |
|
140 | - { |
|
141 | - if (is_string($formatter) && $container->has($formatter)) { |
|
142 | - return $container->get($formatter); |
|
143 | - } |
|
139 | + public function createFormatter($container, $formatter) |
|
140 | + { |
|
141 | + if (is_string($formatter) && $container->has($formatter)) { |
|
142 | + return $container->get($formatter); |
|
143 | + } |
|
144 | 144 | |
145 | 145 | if (!isset($formatter['name'])) { |
146 | 146 | throw new RuntimeException('Cannot create logger formatter'); |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | } |
170 | 170 | |
171 | 171 | return $instance; |
172 | - } |
|
172 | + } |
|
173 | 173 | |
174 | 174 | /** |
175 | 175 | * @param ServiceLocatorInterface|ContainerInterface $container |