We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -222,10 +222,10 @@ |
||
222 | 222 | } |
223 | 223 | |
224 | 224 | /** |
225 | - * @param mixed $ruleSpec |
|
225 | + * @param string $ruleSpec |
|
226 | 226 | * @param array $arguments |
227 | 227 | * |
228 | - * @return Validatable |
|
228 | + * @return Rule |
|
229 | 229 | */ |
230 | 230 | public static function buildRule($ruleSpec, $arguments = []) |
231 | 231 | { |
@@ -19,7 +19,6 @@ |
||
19 | 19 | use Respect\Validation\Exceptions\ComponentException; |
20 | 20 | use Respect\Validation\Exceptions\ExceptionNotFoundException; |
21 | 21 | use Respect\Validation\Exceptions\InvalidClassException; |
22 | -use Respect\Validation\Exceptions\InvalidRuleExceptionException; |
|
23 | 22 | use Respect\Validation\Exceptions\RuleNotFoundException; |
24 | 23 | use Respect\Validation\Exceptions\ValidationException; |
25 | 24 |