File manager - Edit - /var/www/payraty/hris/vendor/spatie/laravel-permission/src/Exceptions/GuardDoesNotMatch.php
Back
<?php namespace Spatie\Permission\Exceptions; use Illuminate\Support\Collection; use InvalidArgumentException; class GuardDoesNotMatch extends InvalidArgumentException { public static function create(string $givenGuard, Collection $expectedGuards) { return new static(__('The given role or permission should use guard `:expected` instead of `:given`.', [ 'expected' => $expectedGuards->implode(', '), 'given' => $givenGuard, ])); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings