Skip to content

Commit f9d5dd1

Browse files
committed
signing commit
1 parent b9d0441 commit f9d5dd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Models/UserModel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)