@@ -85,11 +85,13 @@ discard block |
||
| 85 | 85 | |
| 86 | 86 | protected function coreHandler(ContainerInterface $container): CoreHandler |
| 87 | 87 | { |
| 88 | - if ($this->handler !== null) { |
|
| 88 | + if ($this->handler !== null) |
|
| 89 | + { |
|
| 89 | 90 | return $this->handler; |
| 90 | 91 | } |
| 91 | 92 | |
| 92 | - try { |
|
| 93 | + try |
|
| 94 | + { |
|
| 93 | 95 | // construct on demand |
| 94 | 96 | $this->handler = new CoreHandler( |
| 95 | 97 | $this->pipeline ?? new AutowireHandler($container), |
@@ -99,7 +101,9 @@ discard block |
||
| 99 | 101 | ); |
| 100 | 102 | |
| 101 | 103 | return $this->handler; |
| 102 | - } catch (ContainerExceptionInterface $e) { |
|
| 104 | + } |
|
| 105 | + catch (ContainerExceptionInterface $e) |
|
| 106 | + { |
|
| 103 | 107 | throw new TargetException($e->getMessage(), $e->getCode(), $e); |
| 104 | 108 | } |
| 105 | 109 | } |