Skip to content

Commit

Permalink
style: fix psr-12 code style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
getsolaris authored and github-actions[bot] committed Sep 2, 2024
1 parent dbb27ed commit 00e0977
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Attributes/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function get(?string $startingAfter = null, ?int $limit = null): PromiseI

if ($limit) {
if ($limit > 10000) {
throw new LargeLimitException();
throw new LargeLimitException;
}

$parameters['limit'] = $limit;
Expand Down
2 changes: 1 addition & 1 deletion src/Enums/CodeProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public static function toCode(int|string $code): string|int
}
}

throw new InvalidInputTargetCodeException();
throw new InvalidInputTargetCodeException;
}
}
2 changes: 1 addition & 1 deletion src/Handlers/TossPaymentsWebhookHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function __invoke(Request $request)
$payload = json_decode($request->getContent(), true, 512, JSON_THROW_ON_ERROR);

if (! $payload) {
throw new WebhookPayloadException();
throw new WebhookPayloadException;
}

$target = new \ReflectionClass(config('tosspayments.webhook.handler.controller'));
Expand Down
4 changes: 1 addition & 3 deletions tests/PaymentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@

namespace Getsolaris\LaravelTossPayments\tests;

class PaymentTest
{
}
class PaymentTest {}

0 comments on commit 00e0977

Please sign in to comment.