@@ -88,9 +88,9 @@ discard block |
||
| 88 | 88 | * Check if value is matching a certain type of values. |
| 89 | 89 | * |
| 90 | 90 | * @param string $value the value to check. |
| 91 | - * @param array $type the expected type to check against. |
|
| 91 | + * @param string $type the expected type to check against. |
|
| 92 | 92 | * |
| 93 | - * @return boolean |
|
| 93 | + * @return boolean|null |
|
| 94 | 94 | */ |
| 95 | 95 | private function checkPartMatchingType($value, $type) |
| 96 | 96 | { |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | * conversion accordingly. |
| 124 | 124 | * |
| 125 | 125 | * @param string $value the value to check. |
| 126 | - * @param array $type the expected type to check against. |
|
| 126 | + * @param string|null $type the expected type to check against. |
|
| 127 | 127 | * |
| 128 | 128 | * @return boolean |
| 129 | 129 | */ |