Skip to content

Commit 00e0977

Browse files
getsolarisgithub-actions[bot]
authored andcommitted
style: fix psr-12 code style issues
1 parent dbb27ed commit 00e0977

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

src/Attributes/Transaction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function get(?string $startingAfter = null, ?int $limit = null): PromiseI
7373

7474
if ($limit) {
7575
if ($limit > 10000) {
76-
throw new LargeLimitException();
76+
throw new LargeLimitException;
7777
}
7878

7979
$parameters['limit'] = $limit;

src/Enums/CodeProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ public static function toCode(int|string $code): string|int
3333
}
3434
}
3535

36-
throw new InvalidInputTargetCodeException();
36+
throw new InvalidInputTargetCodeException;
3737
}
3838
}

src/Handlers/TossPaymentsWebhookHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function __invoke(Request $request)
1717
$payload = json_decode($request->getContent(), true, 512, JSON_THROW_ON_ERROR);
1818

1919
if (! $payload) {
20-
throw new WebhookPayloadException();
20+
throw new WebhookPayloadException;
2121
}
2222

2323
$target = new \ReflectionClass(config('tosspayments.webhook.handler.controller'));

tests/PaymentTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22

33
namespace Getsolaris\LaravelTossPayments\tests;
44

5-
class PaymentTest
6-
{
7-
}
5+
class PaymentTest {}

0 commit comments

Comments
 (0)