mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-10 12:24:50 +00:00
Code cleanup.
This commit is contained in:
@@ -444,12 +444,6 @@ class CategoryRepository implements CategoryRepositoryInterface
|
||||
*/
|
||||
public function store(array $data): Category
|
||||
{
|
||||
// TODO use validation, not this.
|
||||
if (strlen($data['name']) > 200 || strlen($data['name']) === 0) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
$newCategory = Category::firstOrCreateEncrypted(
|
||||
[
|
||||
'user_id' => $data['user'],
|
||||
|
||||
Reference in New Issue
Block a user