Skip to content

Commit

Permalink
fix php cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gummibeer committed Jul 17, 2023
1 parent 6cb2064 commit 102c72e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Exceptions/BadResponseException.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class BadResponseException extends SaloonRequestException
{
final public function __construct(SaloonResponse $response, string $message = '', int $code = 0, ?Throwable $previous = null)
final public function __construct(SaloonResponse $response, string $message = '', int $code = 0, Throwable $previous = null)
{
parent::__construct($response, $message, $code, $previous);
}
Expand Down
1 change: 0 additions & 1 deletion src/Extractors/Extractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ protected function toCarbonInterval(?string $value): ?CarbonInterval
}

/**
* @param string $value
* @return array{start: int, end: int, total: int}
*/
protected function paginationFromString(string $value): array
Expand Down
6 changes: 3 additions & 3 deletions src/SourceBansConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ public function defineBaseUrl(): string

public function queryBans(
int $page = 1,
?SteamID $steamid = null,
?DateTimeInterface $date = null,
?int $perPage = null
SteamID $steamid = null,
DateTimeInterface $date = null,
int $perPage = null
): ?LengthAwarePaginator {
return $this->send(
new QueryBansRequest(
Expand Down

0 comments on commit 102c72e

Please sign in to comment.