@@ -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 |