Skip to content

Commit 052ffca

Browse files
RVxLabgithub-actions[bot]
authored andcommitted
Fix styling
1 parent f7785cd commit 052ffca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/HCaptcha.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function displaySubmit(string $formIdentifier, string $buttonText = 'subm
5757
{
5858
$javascript = '';
5959
if (! isset($attributes['data-callback'])) {
60-
$functionName = sprintf('on%sSubmit', Str::of($formIdentifier)->title()->replace(['-', '=', '\'', '"', '<', '>', '`'], ''));
60+
$functionName = \sprintf('on%sSubmit', Str::of($formIdentifier)->title()->replace(['-', '=', '\'', '"', '<', '>', '`'], ''));
6161
$attributes['data-callback'] = $functionName;
6262

6363
$javascript = view('hcaptcha::default-submit-callback', [
@@ -160,7 +160,7 @@ protected function buildAttributes(array $attributes): string
160160
$htmlAttributesAsString = [];
161161

162162
foreach ($attributes as $key => $value) {
163-
$htmlAttributesAsString[] = sprintf('%s="%s"', $key, $value);
163+
$htmlAttributesAsString[] = \sprintf('%s="%s"', $key, $value);
164164
}
165165

166166
return implode(' ', $htmlAttributesAsString);

0 commit comments

Comments
 (0)