We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af43a99 commit 73c1853Copy full SHA for 73c1853
src/Application.php
@@ -74,7 +74,7 @@ public function getHttpClient(): Client
74
* @throws InvalidArgumentException
75
* @throws InvalidResponseException
76
*/
77
- public function getBook(string $isbn): ? Book
+ public function getBook(string $isbn): Book
78
{
79
if (13 !== strlen($isbn) && 10 !== strlen($isbn)) {
80
throw new InvalidArgumentException('Invalid isbn code(isbn10 or isbn13): '.$isbn);
0 commit comments