@@ -9,7 +9,7 @@ |
||
9 | 9 | - 'userRateLimitExceeded': The per-user limit from the Developer Console has been reached. |
10 | 10 | - 'userRateLimitExceededUnreg': Limit when unregistered |
11 | 11 | - More? |
12 | - */ |
|
12 | + */ |
|
13 | 13 | private $reason; |
14 | 14 | |
15 | 15 | public function __construct($message, $reason) |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | |
15 | 15 | /** |
16 | 16 | * @param $query |
17 | - * @return \Generator|Volume |
|
17 | + * @return \Generator |
|
18 | 18 | */ |
19 | 19 | public function search($query) |
20 | 20 | { |
@@ -23,6 +23,9 @@ discard block |
||
23 | 23 | } |
24 | 24 | } |
25 | 25 | |
26 | + /** |
|
27 | + * @param string $query |
|
28 | + */ |
|
26 | 29 | public function firstOrNull($query) |
27 | 30 | { |
28 | 31 | $res = $this->search($query)->current(); |