@@ -84,9 +84,9 @@ discard block |
||
84 | 84 | * Check if value is matching a certain type of values. |
85 | 85 | * |
86 | 86 | * @param string $value the value to check. |
87 | - * @param array $type the expected type to check against. |
|
87 | + * @param string $type the expected type to check against. |
|
88 | 88 | * |
89 | - * @return boolean |
|
89 | + * @return boolean|null |
|
90 | 90 | */ |
91 | 91 | private function checkPartMatchingType($value, $type) |
92 | 92 | { |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | * conversion accordingly. |
120 | 120 | * |
121 | 121 | * @param string $value the value to check. |
122 | - * @param array $type the expected type to check against. |
|
122 | + * @param string $type the expected type to check against. |
|
123 | 123 | * |
124 | 124 | * @return boolean |
125 | 125 | */ |