@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | |
| 114 | 114 | /** |
| 115 | 115 | * @param $value |
| 116 | - * @return Assert |
|
| 116 | + * @return boolean |
|
| 117 | 117 | */ |
| 118 | 118 | public static function that($value) |
| 119 | 119 | { |
@@ -178,7 +178,7 @@ discard block |
||
| 178 | 178 | } |
| 179 | 179 | |
| 180 | 180 | /** |
| 181 | - * @param $exceptionClass |
|
| 181 | + * @param string $exceptionClass |
|
| 182 | 182 | * @return Assert |
| 183 | 183 | */ |
| 184 | 184 | public function setExceptionClass($exceptionClass) |
@@ -944,7 +944,7 @@ discard block |
||
| 944 | 944 | * |
| 945 | 945 | * @throws AssertionFailedException |
| 946 | 946 | * |
| 947 | - * @param array $choices |
|
| 947 | + * @param integer[] $choices |
|
| 948 | 948 | * @param null $message |
| 949 | 949 | * @param null $propertyPath |
| 950 | 950 | * @return $this |
@@ -2018,6 +2018,9 @@ discard block |
||
| 2018 | 2018 | return $this; |
| 2019 | 2019 | } |
| 2020 | 2020 | |
| 2021 | + /** |
|
| 2022 | + * @param string $func |
|
| 2023 | + */ |
|
| 2021 | 2024 | protected function doAllOrNullOr($func, $args) |
| 2022 | 2025 | { |
| 2023 | 2026 | if ( $this->nullOr && is_null($this->value) ) |
@@ -2088,8 +2091,8 @@ discard block |
||
| 2088 | 2091 | /** |
| 2089 | 2092 | * Determines that the provided value is an object. |
| 2090 | 2093 | * |
| 2091 | - * @param null $message |
|
| 2092 | - * @param null $propertyPath |
|
| 2094 | + * @param string|null $message |
|
| 2095 | + * @param string|null $propertyPath |
|
| 2093 | 2096 | * @return $this |
| 2094 | 2097 | */ |
| 2095 | 2098 | public function isObject($message = null, $propertyPath = null) |