Skip to content

Commit df95d8f

Browse files
committed
Fixin problem with phphstan, redundant declaration
1 parent 9cac66b commit df95d8f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/FilamentDeveloperLoginsPlugin.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,6 @@ public function getColumn(): string
158158
*/
159159
public function modelClass(string $modelClass): static
160160
{
161-
if (! is_a($modelClass, Authenticatable::class, true)) {
162-
throw new ImplementationException('The model class must implement the "\Illuminate\Contracts\Auth\Authenticatable" interface.');
163-
}
164-
165161
$this->modelClass = $modelClass;
166162

167163
return $this;

0 commit comments

Comments
 (0)