Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Rezrazi authored and github-actions[bot] committed May 11, 2024
1 parent f6c80b6 commit f2898a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Facades/RecaptchaEnterprise.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static function assess(string $token): RecaptchaContract
return app(RecaptchaService::class)->assess($token);
}

public static function fake(bool $alwaysValid = null, ?Closure $callback = null): RecaptchaContract
public static function fake(?bool $alwaysValid = null, ?Closure $callback = null): RecaptchaContract
{
return tap(static::getFacadeRoot(), function (RecaptchaService $fake) use ($alwaysValid, $callback) {
static::swap(is_callable($callback) ? $callback($fake) : new FakeRecaptchaEnterprise($alwaysValid));
Expand Down
1 change: 0 additions & 1 deletion src/Rules/Recaptcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public function __construct(public ?string $action = null, public ?CarbonInterva
/**
* @param string $attribute
* @param string $value
* @return bool
*
* @throws \Google\ApiCore\ApiException
* @throws \Oneduo\RecaptchaEnterprise\Exceptions\MissingPropertiesException
Expand Down

0 comments on commit f2898a1

Please sign in to comment.