mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Various code clean up. [skip ci]
This commit is contained in:
@@ -144,7 +144,6 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
$ids = $query->get(['transaction_journals.id'])->pluck('id')->toArray();
|
||||
|
||||
|
||||
|
||||
// that should do it:
|
||||
$sum = $this->user->transactions()
|
||||
->whereIn('transaction_journal_id', $ids)
|
||||
|
@@ -42,13 +42,6 @@ interface TagRepositoryInterface
|
||||
*/
|
||||
public function destroy(Tag $tag): bool;
|
||||
|
||||
/**
|
||||
* @param string $tag
|
||||
*
|
||||
* @return Tag
|
||||
*/
|
||||
public function findByTag(string $tag) : Tag;
|
||||
|
||||
/**
|
||||
* @param int $tagId
|
||||
*
|
||||
@@ -56,6 +49,13 @@ interface TagRepositoryInterface
|
||||
*/
|
||||
public function find(int $tagId) : Tag;
|
||||
|
||||
/**
|
||||
* @param string $tag
|
||||
*
|
||||
* @return Tag
|
||||
*/
|
||||
public function findByTag(string $tag) : Tag;
|
||||
|
||||
/**
|
||||
* This method returns all the user's tags.
|
||||
*
|
||||
|
Reference in New Issue
Block a user