James Cole
2024-10-10 06:30:05 +02:00
parent 562763c938
commit b41fc43e64
23 changed files with 60 additions and 59 deletions

View File

@@ -126,7 +126,7 @@ class BillFactory
public function findByName(string $name): ?Bill
{
return $this->user->bills()->where('name', 'LIKE', sprintf('%%%s%%', $name))->first();
return $this->user->bills()->whereLike('name', sprintf('%%%s%%', $name))->first();
}
public function setUser(User $user): void