Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiegant authored and StyleCIBot committed Nov 5, 2020
1 parent c58c2cd commit 875ee44
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/BaseRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected function getHeaders(): array
];

// If we have an app token then add it
if (!empty($this->_appToken)) {
if (! empty($this->_appToken)) {
$headers['X-App-Token'] = $this->_appToken;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Response/ErrorListResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ErrorListResponse extends BaseResponse
*/
protected array $casts = [
'errors' => ['type' => 'collection',
'class' => ErrorResponse::class],
'class' => ErrorResponse::class, ],
];

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Response/PaymentListResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class PaymentListResponse extends BaseResponse
protected array $casts = [
'totalElementCount' => ['type' => 'int'],
'payments' => ['type' => 'collection',
'class' => PaymentResponse::class],
'class' => PaymentResponse::class, ],
];

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Response/PaymentRequestListResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class PaymentRequestListResponse extends BaseResponse
protected array $casts = [
'totalElementCount' => ['type' => 'int'],
'paymentRequests' => ['type' => 'collection',
'class' => PaymentRequestResponse::class],
'class' => PaymentRequestResponse::class, ],
];

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Response/PaymentResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class PaymentResponse extends BaseResponse
protected array $casts = [
'createdDateTime' => ['type' => 'carbon'],
'refunds' => ['type' => 'collection',
'class' => RefundResponse::class,
'class' => RefundResponse::class,
],
];

Expand Down
2 changes: 1 addition & 1 deletion src/Routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
Route::group(compact('middleware', 'as', 'namespace'), function () {
Route::post('api/tikkie/notification', [
'uses' => 'TikkieNotificationController@notification',
'as' => 'notification',]);
'as' => 'notification', ]);
});

0 comments on commit 875ee44

Please sign in to comment.