| @@ -356,7 +356,7 @@ | ||
| 356 | 356 |       * @param array $defaultArgs The default arguments from {@link Container::makeDefaultArgs()}. | 
| 357 | 357 | * @param array $args The arguments passed into a creation. | 
| 358 | 358 | * @param mixed $instance An object instance if the arguments are being resolved on an already constructed object. | 
| 359 | - * @return array Returns an array suitable to be applied to a function call. | |
| 359 | + * @return null|callable Returns an array suitable to be applied to a function call. | |
| 360 | 360 | */ | 
| 361 | 361 |      private function resolveArgs(array $defaultArgs, array $args, $instance = null) { | 
| 362 | 362 | $args = array_change_key_case($args); | 
| @@ -23,7 +23,7 @@ discard block | ||
| 23 | 23 | */ | 
| 24 | 24 |      public function __construct() { | 
| 25 | 25 | $this->rules = ['*' => ['inherit' => true, 'constructorArgs' => []]]; | 
| 26 | - $this->currentRule =& $this->rules['*']; | |
| 26 | + $this->currentRule = & $this->rules['*']; | |
| 27 | 27 | $this->instances = []; | 
| 28 | 28 | $this->factories = []; | 
| 29 | 29 | } | 
| @@ -44,7 +44,7 @@ discard block | ||
| 44 | 44 | * @return $this | 
| 45 | 45 | */ | 
| 46 | 46 |      public function defaultRule() { | 
| 47 | - $this->currentRule =& $this->rules['*']; | |
| 47 | + $this->currentRule = & $this->rules['*']; | |
| 48 | 48 | return $this; | 
| 49 | 49 | } | 
| 50 | 50 | |
| @@ -60,7 +60,7 @@ discard block | ||
| 60 | 60 |          if (!isset($this->rules[$id])) { | 
| 61 | 61 | $this->rules[$id] = []; | 
| 62 | 62 | } | 
| 63 | - $this->currentRule =& $this->rules[$id]; | |
| 63 | + $this->currentRule = & $this->rules[$id]; | |
| 64 | 64 | return $this; | 
| 65 | 65 | } | 
| 66 | 66 | |