mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-16 14:48:11 +00:00
Various code reshuffelling.
This commit is contained in:
@@ -77,6 +77,15 @@ interface TransactionGroupRepositoryInterface
|
||||
*/
|
||||
public function getLinks(TransactionGroup $group): array;
|
||||
|
||||
/**
|
||||
* Get the location of a journal or NULL.
|
||||
*
|
||||
* @param int $journalId
|
||||
*
|
||||
* @return Location|null
|
||||
*/
|
||||
public function getLocation(int $journalId): ?Location;
|
||||
|
||||
/**
|
||||
* Return object with all found meta field things as Carbon objects.
|
||||
*
|
||||
@@ -97,16 +106,6 @@ interface TransactionGroupRepositoryInterface
|
||||
*/
|
||||
public function getMetaFields(int $journalId, array $fields): NullArrayObject;
|
||||
|
||||
|
||||
/**
|
||||
* Get the location of a journal or NULL.
|
||||
*
|
||||
* @param int $journalId
|
||||
*
|
||||
* @return Location|null
|
||||
*/
|
||||
public function getLocation(int $journalId): ?Location;
|
||||
|
||||
/**
|
||||
* Get the note text for a journal (by ID).
|
||||
*
|
||||
@@ -125,15 +124,6 @@ interface TransactionGroupRepositoryInterface
|
||||
*/
|
||||
public function getPiggyEvents(TransactionGroup $group): array;
|
||||
|
||||
/**
|
||||
* Get the tags for a journal (by ID).
|
||||
*
|
||||
* @param int $journalId
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getTags(int $journalId): array;
|
||||
|
||||
/**
|
||||
* Get the tags for a journal (by ID) as Tag objects.
|
||||
*
|
||||
@@ -143,6 +133,15 @@ interface TransactionGroupRepositoryInterface
|
||||
*/
|
||||
public function getTagObjects(int $journalId): Collection;
|
||||
|
||||
/**
|
||||
* Get the tags for a journal (by ID).
|
||||
*
|
||||
* @param int $journalId
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getTags(int $journalId): array;
|
||||
|
||||
/**
|
||||
* Set the user.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user