@@ -84,12 +84,12 @@ |
||
| 84 | 84 | if (property_exists(__CLASS__, $name)) { |
| 85 | 85 | $val = function (&$val) use ($nodes) { |
| 86 | 86 | $temp = &$val; |
| 87 | - foreach ($nodes as $key) { |
|
| 87 | + foreach ($nodes as $key) { |
|
| 88 | 88 | if ($key === 'last') { |
| 89 | 89 | return array_pop($temp); |
| 90 | 90 | } |
| 91 | 91 | $temp = &$temp[$key]; |
| 92 | - } |
|
| 92 | + } |
|
| 93 | 93 | |
| 94 | 94 | return $temp; |
| 95 | 95 | }; |
@@ -116,7 +116,8 @@ |
||
| 116 | 116 | * |
| 117 | 117 | * @return mixed |
| 118 | 118 | */ |
| 119 | - protected static function filterInput(int $type, string $variable_name) { |
|
| 119 | + protected static function filterInput(int $type, string $variable_name) |
|
| 120 | + { |
|
| 120 | 121 | return filter_input($type, $variable_name); |
| 121 | 122 | } |
| 122 | 123 | } |