Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Naoray authored and github-actions[bot] committed Jan 5, 2024
1 parent 1da742e commit 5cb58e2
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Endpoints/BalanceEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Mollie\Api\Exceptions\ApiException;
use Mollie\Api\Resources\Balance;
use Mollie\Api\Resources\BalanceCollection;
use Mollie\Api\Resources\BaseCollection;
use Mollie\Api\Resources\LazyCollection;

class BalanceEndpoint extends CollectionRestEndpoint
Expand Down
2 changes: 1 addition & 1 deletion src/Endpoints/OrderLineEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function cancelFor(Order $order, array $data): void
*/
public function cancelForId(string $orderId, array $data): void
{
if (!isset($data['lines']) || !is_array($data['lines'])) {
if (! isset($data['lines']) || ! is_array($data['lines'])) {
throw new ApiException("A lines array is required.");
}
$this->parentId = $orderId;
Expand Down
2 changes: 1 addition & 1 deletion src/Endpoints/RestEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ protected function rest_update(string $id, array $body = []): ?BaseResource
*/
protected function rest_read(string $id, array $filters): BaseResource
{
if (!$this instanceof SingleResourceEndpoint && empty($id)) {
if (! $this instanceof SingleResourceEndpoint && empty($id)) {
throw new ApiException("Invalid resource id.");
}

Expand Down
1 change: 0 additions & 1 deletion src/Endpoints/SubscriptionEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Mollie\Api\Exceptions\ApiException;
use Mollie\Api\Resources\Customer;
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Resources\ResourceFactory;
use Mollie\Api\Resources\Subscription;
use Mollie\Api\Resources\SubscriptionCollection;

Expand Down

0 comments on commit 5cb58e2

Please sign in to comment.