mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-03 19:16:51 +00:00
Mark methods as deprecated.
This commit is contained in:
@@ -190,7 +190,7 @@ class Account extends Model
|
|||||||
* @codeCoverageIgnore
|
* @codeCoverageIgnore
|
||||||
*
|
*
|
||||||
* @param string $fieldName
|
* @param string $fieldName
|
||||||
*
|
* @deprecated
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getMeta(string $fieldName): string
|
public function getMeta(string $fieldName): string
|
||||||
@@ -274,7 +274,7 @@ class Account extends Model
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @codeCoverageIgnore
|
* @codeCoverageIgnore
|
||||||
*
|
* @deprecated
|
||||||
* @param EloquentBuilder $query
|
* @param EloquentBuilder $query
|
||||||
* @param string $name
|
* @param string $name
|
||||||
* @param string $value
|
* @param string $value
|
||||||
|
@@ -219,7 +219,7 @@ class TransactionJournal extends Model
|
|||||||
* @codeCoverageIgnore
|
* @codeCoverageIgnore
|
||||||
*
|
*
|
||||||
* @param string $name
|
* @param string $name
|
||||||
*
|
* @deprecated
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function hasMeta(string $name): bool
|
public function hasMeta(string $name): bool
|
||||||
|
@@ -34,6 +34,7 @@ interface JournalTaskerInterface
|
|||||||
/**
|
/**
|
||||||
* @param TransactionJournal $journal
|
* @param TransactionJournal $journal
|
||||||
*
|
*
|
||||||
|
* @deprecated
|
||||||
* @return Collection
|
* @return Collection
|
||||||
*/
|
*/
|
||||||
public function getPiggyBankEvents(TransactionJournal $journal): Collection;
|
public function getPiggyBankEvents(TransactionJournal $journal): Collection;
|
||||||
@@ -42,6 +43,8 @@ interface JournalTaskerInterface
|
|||||||
* Get an overview of the transactions of a journal, tailored to the view
|
* Get an overview of the transactions of a journal, tailored to the view
|
||||||
* that shows a transaction (transaction/show/xx).
|
* that shows a transaction (transaction/show/xx).
|
||||||
*
|
*
|
||||||
|
* @deprecated
|
||||||
|
*
|
||||||
* @param TransactionJournal $journal
|
* @param TransactionJournal $journal
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
|
Reference in New Issue
Block a user