mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Fix phpstan level 3!
This commit is contained in:
@@ -84,6 +84,7 @@ class CategoryFactory
|
||||
|
||||
public function findByName(string $name): ?Category
|
||||
{
|
||||
/** @var Category|null */
|
||||
return $this->user->categories()->where('name', $name)->first();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user