@@ -83,14 +83,14 @@ |
||
| 83 | 83 | if (property_exists(__CLASS__, $name)) { |
| 84 | 84 | $val = function(&$val) use ($nodes) { |
| 85 | 85 | $temp = &$val; |
| 86 | - foreach($nodes as $key) { |
|
| 86 | + foreach($nodes as $key) { |
|
| 87 | 87 | if ($key === 'last') { |
| 88 | 88 | return array_pop($temp); |
| 89 | 89 | } |
| 90 | - $temp = &$temp[$key]; |
|
| 91 | - } |
|
| 90 | + $temp = &$temp[$key]; |
|
| 91 | + } |
|
| 92 | 92 | |
| 93 | - return $temp; |
|
| 93 | + return $temp; |
|
| 94 | 94 | }; |
| 95 | 95 | |
| 96 | 96 | if (($v = $val(static::$$name)) !== null) { |