From f7b2e8f6100c0e6ad91fb7d17f46f92609d861a2 Mon Sep 17 00:00:00 2001 From: Victor Korkoshko Date: Thu, 14 Sep 2023 17:57:17 +0300 Subject: [PATCH] Fixed DocBlock in facade --- src/BouncerFacade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BouncerFacade.php b/src/BouncerFacade.php index 2652eb4..58ec2cd 100644 --- a/src/BouncerFacade.php +++ b/src/BouncerFacade.php @@ -35,8 +35,8 @@ * @method static bool cannot(string $ability, array|mixed $arguments = []) * @method static bool allows(string $ability, array|mixed $arguments = []) * @method static bool denies(string $ability, array|mixed $arguments = []) - * @method static \Silber\Bouncer\Database\Role role(array $attributes) - * @method static \Silber\Bouncer\Database\Ability ability(array $attributes) + * @method static \Silber\Bouncer\Database\Role role(array $attributes = []) + * @method static \Silber\Bouncer\Database\Ability ability(array $attributes = []) * @method static self runBeforePolicies(bool $boolean) * @method static self ownedVia(string|\Closure $model, string|\Closure|null $attribute) * @method static self useAbilityModel(string $model)