@@ -11,6 +11,9 @@ |
||
11 | 11 | return 'Validation exception'; |
12 | 12 | } |
13 | 13 | |
14 | + /** |
|
15 | + * @param boolean $message |
|
16 | + */ |
|
14 | 17 | public static function forValue($value, $message) |
15 | 18 | { |
16 | 19 | return new self('Value ' . json_encode($value) . ' is invalid'); |
@@ -26,6 +26,7 @@ |
||
26 | 26 | |
27 | 27 | /** |
28 | 28 | * @param Field $field |
29 | + * @param string $operator |
|
29 | 30 | * @return AttributeValidator |
30 | 31 | */ |
31 | 32 | public function createFor(Field $field, $operator) |