Skip to content

Commit 5194dcf

Browse files
ryangjchandlergithub-actions[bot]
authored andcommitted
Fix styling
1 parent 2138c91 commit 5194dcf

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

src/LaravelCloudflareTurnstileServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function packageBooted()
3131
});
3232

3333
Blade::directive('turnstile', function () {
34-
return '<div class="cf-turnstile" data-sitekey="' . config('services.turnstile.key') . '"></div>';
34+
return '<div class="cf-turnstile" data-sitekey="'.config('services.turnstile.key').'"></div>';
3535
});
3636

3737
Rule::macro('turnstile', function () {

src/Responses/SiteverifyResponse.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ class SiteverifyResponse implements Arrayable
99
public function __construct(
1010
public readonly bool $success,
1111
public readonly array $errorCodes,
12-
) {}
12+
) {
13+
}
1314

1415
public function toArray(): array
1516
{

src/Rules/Turnstile.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace RyanChandler\LaravelCloudflareTurnstile\Rules;
44

5-
use Illuminate\Contracts\Validation\InvokableRule;
65
use Illuminate\Contracts\Validation\Rule;
76
use RyanChandler\LaravelCloudflareTurnstile\TurnstileClient;
87

@@ -12,7 +11,8 @@ class Turnstile implements Rule
1211

1312
public function __construct(
1413
protected TurnstileClient $turnstile,
15-
) {}
14+
) {
15+
}
1616

1717
public function passes($attribute, $value)
1818
{

src/TurnstileClient.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ class TurnstileClient
99
{
1010
public function __construct(
1111
protected string $secret,
12-
) {}
12+
) {
13+
}
1314

1415
public function siteverify(string $response): SiteverifyResponse
1516
{

0 commit comments

Comments
 (0)