Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
51 | private function entryIsValid($key, $value) |
||
52 | { |
||
53 | if (!in_array($key, $this->allowedMethodsParameters[$this->method])) { |
||
54 | return false; |
||
55 | } |
||
56 | |||
57 | if (!array_key_exists($key, $this->allowedParameterTypes)) { |
||
58 | return true; |
||
59 | } |
||
60 | |||
61 | return $this->validateBooleanString($value); |
||
62 | } |
||
63 | |||
78 |