@@ -7,8 +7,7 @@ discard block |
||
7 | 7 | use ReflectionClass; |
8 | 8 | use ReflectionParameter; |
9 | 9 | |
10 | -abstract class Container |
|
11 | -{ |
|
10 | +abstract class Container { |
|
12 | 11 | /** |
13 | 12 | * The current globally available container (if any). |
14 | 13 | * |
@@ -204,7 +203,8 @@ discard block |
||
204 | 203 | { |
205 | 204 | try { |
206 | 205 | return $this->make($this->getClass($parameter)->getName()); |
207 | - } catch (BindingResolutionException $e) { |
|
206 | + } |
|
207 | + catch (BindingResolutionException $e) { |
|
208 | 208 | if ($parameter->isOptional()) { |
209 | 209 | return $parameter->getDefaultValue(); |
210 | 210 | } |