Skip to content

Commit 73c1853

Browse files
committed
Fix return type
1 parent af43a99 commit 73c1853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function getHttpClient(): Client
7474
* @throws InvalidArgumentException
7575
* @throws InvalidResponseException
7676
*/
77-
public function getBook(string $isbn): ? Book
77+
public function getBook(string $isbn): Book
7878
{
7979
if (13 !== strlen($isbn) && 10 !== strlen($isbn)) {
8080
throw new InvalidArgumentException('Invalid isbn code(isbn10 or isbn13): '.$isbn);

0 commit comments

Comments
 (0)