@@ -8,6 +8,9 @@ |
||
8 | 8 | { |
9 | 9 | public $repository; |
10 | 10 | |
11 | + /** |
|
12 | + * @param BaseRepository $value |
|
13 | + */ |
|
11 | 14 | public function setRepository($value) |
12 | 15 | { |
13 | 16 | $this->repository = $value; |
@@ -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'); |