@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | $ref = new \ReflectionClass($object); |
| 70 | 70 | try{ |
| 71 | 71 | $refMethod = $ref->getMethod( $methodName ); |
| 72 | - }catch( ReflectionException $e ){ |
|
| 72 | + } catch( ReflectionException $e ){ |
|
| 73 | 73 | return null; |
| 74 | 74 | } |
| 75 | 75 | |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | $className = $p->getClass()->name; |
| 79 | 79 | if( $className === "Pimple\\Container" ){ |
| 80 | 80 | $toInject[] = $this->container; |
| 81 | - }else{ |
|
| 81 | + } else{ |
|
| 82 | 82 | $toInject[] = $this->container[ $className ]; |
| 83 | 83 | } |
| 84 | 84 | } |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | $ref = new \ReflectionClass($classToBuildName); |
| 98 | 98 | try{ |
| 99 | 99 | $constr = $ref->getConstructor(); |
| 100 | - }catch( ReflectionException $e ){ |
|
| 100 | + } catch( ReflectionException $e ){ |
|
| 101 | 101 | return null; |
| 102 | 102 | } |
| 103 | 103 | |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | $classToInjectName = $p->getClass()->name; |
| 111 | 111 | if( $classToInjectName === "Pimple\\Container" ){ |
| 112 | 112 | $toInject[] = $this->container; |
| 113 | - }else{ |
|
| 113 | + } else{ |
|
| 114 | 114 | $toInject[] = $this->container[ $classToInjectName ]; |
| 115 | 115 | } |
| 116 | 116 | } |