Passed
Pull Request — master (#1132)
by Aleksei
24:22 queued 12:06
created
src/Router/src/Target/AbstractTarget.php 1 patch
Braces   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -85,11 +85,13 @@  discard block
 block discarded – undo
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
                 match (false) {
@@ -103,7 +105,9 @@  discard block
 block discarded – undo
103 105
             );
104 106
 
105 107
             return $this->handler;
106
-        } catch (ContainerExceptionInterface $e) {
108
+        }
109
+        catch (ContainerExceptionInterface $e)
110
+        {
107 111
             throw new TargetException($e->getMessage(), $e->getCode(), $e);
108 112
         }
109 113
     }
Please login to merge, or discard this patch.