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
166166 public function fake (Generator &$ faker ): User
167167 {
168168 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);
170170 }
171171
172172 return new $ this ->returnType ([
@@ -232,7 +232,7 @@ public function findByCredentials(array $credentials): ?User
232232 unset($ data ['password_hash ' ]);
233233
234234 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);
236236 }
237237
238238 $ user = new $ this ->returnType ($ data );
You can’t perform that action at this time.
0 commit comments