mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-10 12:24:50 +00:00
Use PSR-12 code style
This commit is contained in:
@@ -192,7 +192,6 @@ class CategoryRepository implements CategoryRepositoryInterface
|
||||
}
|
||||
|
||||
return $category;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -210,7 +209,7 @@ class CategoryRepository implements CategoryRepositoryInterface
|
||||
{
|
||||
$dbNote = $category->notes()->first();
|
||||
if (null === $dbNote) {
|
||||
$dbNote = new Note;
|
||||
$dbNote = new Note();
|
||||
$dbNote->noteable()->associate($category);
|
||||
}
|
||||
$dbNote->text = trim($notes);
|
||||
|
||||
@@ -33,7 +33,6 @@ use Illuminate\Support\Collection;
|
||||
*/
|
||||
interface CategoryRepositoryInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* @param string $query
|
||||
* @param int $limit
|
||||
|
||||
@@ -84,7 +84,6 @@ class NoCategoryRepository implements NoCategoryRepositoryInterface
|
||||
'amount' => app('steam')->negative($journal['amount']),
|
||||
'date' => $journal['date'],
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
return $array;
|
||||
@@ -137,7 +136,6 @@ class NoCategoryRepository implements NoCategoryRepositoryInterface
|
||||
'amount' => app('steam')->positive($journal['amount']),
|
||||
'date' => $journal['date'],
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
return $array;
|
||||
|
||||
@@ -110,7 +110,6 @@ class OperationsRepository implements OperationsRepositoryInterface
|
||||
'description' => $journal['description'],
|
||||
'transaction_group_id' => $journal['transaction_group_id'],
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
return $array;
|
||||
@@ -196,7 +195,6 @@ class OperationsRepository implements OperationsRepositoryInterface
|
||||
'description' => $journal['description'],
|
||||
'transaction_group_id' => $journal['transaction_group_id'],
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
return $array;
|
||||
@@ -262,7 +260,6 @@ class OperationsRepository implements OperationsRepositoryInterface
|
||||
'description' => $journal['description'],
|
||||
'transaction_group_id' => $journal['transaction_group_id'],
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
return $array;
|
||||
@@ -328,7 +325,6 @@ class OperationsRepository implements OperationsRepositoryInterface
|
||||
'description' => $journal['description'],
|
||||
'transaction_group_id' => $journal['transaction_group_id'],
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
return $array;
|
||||
|
||||
Reference in New Issue
Block a user