Skip to content

Commit

Permalink
Further docblock fixes (#639)
Browse files Browse the repository at this point in the history
  • Loading branch information
murrant authored Oct 13, 2023
1 parent 667ecd3 commit 7414c37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/BouncerFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
* @method static \Silber\Bouncer\Contracts\Clipboard getClipboard()
* @method static self setClipboard(\Silber\Bouncer\Contracts\Clipboard $clipboard)
* @method static self registerClipboardAtContainer()
* @method static self cache(null|\Illuminate\Contracts\Cache\Store $cache)
* @method static self cache(null|\Illuminate\Contracts\Cache\Store $cache = null)
* @method static self dontCache()
* @method static self refresh(null|\Illuminate\Database\Eloquent\Model $authority)
* @method static self refresh(null|\Illuminate\Database\Eloquent\Model $authority = null)
* @method static self refreshFor(\Illuminate\Database\Eloquent\Model $authority)
* @method static self setGate(\Illuminate\Contracts\Auth\Access\Gate $gate)
* @method static \Illuminate\Contracts\Auth\Access\Gate|null getGate()
Expand All @@ -37,14 +37,14 @@
* @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 self runBeforePolicies(bool $boolean)
* @method static self ownedVia(string|\Closure $model, string|\Closure|null $attribute)
* @method static self runBeforePolicies(bool $boolean = true)
* @method static self ownedVia(string|\Closure $model, string|\Closure|null $attribute = null)
* @method static self useAbilityModel(string $model)
* @method static self useRoleModel(string $model)
* @method static self useUserModel(string $model)
* @method static self tables(array $map)
* @method static mixed scope(null|\Silber\Bouncer\Contracts\Scope $scope)
*
* @method static mixed scope(null|\Silber\Bouncer\Contracts\Scope $scope = null)
*
* @see \Silber\Bouncer\Bouncer
*/
class BouncerFacade extends Facade
Expand Down
2 changes: 1 addition & 1 deletion src/Conductors/Concerns/AssociatesAbilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ trait AssociatesAbilities
/**
* Associate the abilities with the authority.
*
* @param \Illuminate\Database\Eloquent\model|array|int $abilities
* @param \Illuminate\Database\Eloquent\model|array|int|string $abilities
* @param \Illuminate\Database\Eloquent\Model|string|null $model
* @param array $attributes
* @return \Silber\Bouncer\Conductors\Lazy\ConductsAbilities|null
Expand Down

0 comments on commit 7414c37

Please sign in to comment.