Skip to content

Commit

Permalink
Update src/Api/AbstractApi.php
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Scheit <[email protected]>
  • Loading branch information
glaubinix and pscheit authored Dec 9, 2024
1 parent 8afe5aa commit 6478f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Api/AbstractApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ abstract class AbstractApi
public function __construct(Client $client, ?ResponseMediator $responseMediator = null)
{
$this->client = $client;
$this->responseMediator = $responseMediator ? : new ResponseMediator();
$this->responseMediator = $responseMediator ?: new ResponseMediator();
}

/**
Expand Down

0 comments on commit 6478f92

Please sign in to comment.