@@ -194,7 +194,7 @@ discard block |
||
| 194 | 194 | * @param array $params |
| 195 | 195 | * @param string $type |
| 196 | 196 | */ |
| 197 | - private function parserTypeCastingArray(array &$params, string &$type) |
|
| 197 | + private function parserTypeCastingArray(array &$params, string & $type) |
|
| 198 | 198 | { |
| 199 | 199 | foreach ($params as $key => $value) { |
| 200 | 200 | $this->parserTypeCastingOthers($params[$key], $type); |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | * |
| 210 | 210 | * @return void |
| 211 | 211 | */ |
| 212 | - private function parserTypeCastingOthers(&$param, string &$type) |
|
| 212 | + private function parserTypeCastingOthers(&$param, string & $type) |
|
| 213 | 213 | { |
| 214 | 214 | if ($type === 'number') { |
| 215 | 215 | settype($param, $this->strtonum($param)); |
@@ -105,7 +105,7 @@ |
||
| 105 | 105 | $field = $rule[0]; |
| 106 | 106 | $filter = $rule[2][0]; |
| 107 | 107 | |
| 108 | - $reflection = new ReflectionClass('Linna\Filter\Rules\\' . $filter); |
|
| 108 | + $reflection = new ReflectionClass('Linna\Filter\Rules\\'.$filter); |
|
| 109 | 109 | $instance = $reflection->newInstance(); |
| 110 | 110 | |
| 111 | 111 | $received = ''; |