@@ -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)); |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | $field = $rule[0]; |
| 107 | 107 | $filter = $rule[2][0]; |
| 108 | 108 | |
| 109 | - $class = 'Linna\Filter\Rules\\' . $filter; |
|
| 109 | + $class = 'Linna\Filter\Rules\\'.$filter; |
|
| 110 | 110 | $refClass = new ReflectionClass($class); |
| 111 | 111 | $refMethod = new ReflectionMethod($class, 'validate'); |
| 112 | 112 | |