We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1ed2b83 + 411eeca commit 5e96846Copy full SHA for 5e96846
src/Models/Permission.php
@@ -22,8 +22,6 @@ class Permission extends Model implements PermissionContract
22
23
public function __construct(array $attributes = [])
24
{
25
- $attributes['guard_name'] = $attributes['guard_name'] ?? config('auth.defaults.guard');
26
-
27
parent::__construct($attributes);
28
29
$this->guarded[] = $this->primaryKey;
src/Models/Role.php
@@ -22,8 +22,6 @@ class Role extends Model implements RoleContract
0 commit comments