File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ public function addToDefaultGroup(User $user): void
166
166
public function fake (Generator &$ faker ): User
167
167
{
168
168
if (! is_a ($ this ->returnType , User::class, true )) {
169
- throw new LogicException ('Model Return type must be a subclass of ' . User::class);
169
+ throw new LogicException ('Return type must be a subclass of ' . User::class);
170
170
}
171
171
172
172
return new $ this ->returnType ([
@@ -232,7 +232,7 @@ public function findByCredentials(array $credentials): ?User
232
232
unset($ data ['password_hash ' ]);
233
233
234
234
if (! is_a ($ this ->returnType , User::class, true )) {
235
- throw new LogicException ('Model Return type must be a subclass of ' . User::class);
235
+ throw new LogicException ('Return type must be a subclass of ' . User::class);
236
236
}
237
237
238
238
$ user = new $ this ->returnType ($ data );
You can’t perform that action at this time.
0 commit comments