Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@
"format": "vendor/bin/php-cs-fixer fix --allow-risky=yes"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true,
"composer/package-versions-deprecated": true
}
},
"extra": {
"laravel": {
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/UnableToMakeRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public static function create(): self
return new static(
'You are not authorized. ' .
'Make sure you are logged in with the correct credentials.' .
'Try to use "->login()" before you make other requests.'
'Try to use "->login()" before you make other requests.',
);
}
}
4 changes: 2 additions & 2 deletions src/Exceptions/UnableToSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ public static function invalidPageNumber(int $page): self
{
return new static(
'You need to specify page number greater than zero. ' .
"Following is not valid: \"->page({$page})\""
"Following is not valid: \"->page({$page})\"",
);
}

public static function invalidPerPageNumber(int $perPage): self
{
return new static(
'You need to specify per page number greater than zero. ' .
"Following is not valid: \"->perPage({$perPage})\""
"Following is not valid: \"->perPage({$perPage})\"",
);
}
}