Mark methods as deprecated.

This commit is contained in:
James Cole 2018-03-11 13:30:58 +01:00
parent cfba11e9ca
commit a9356ca1e2
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
3 changed files with 6 additions and 3 deletions

View File

@ -190,7 +190,7 @@ class Account extends Model
* @codeCoverageIgnore
*
* @param string $fieldName
*
* @deprecated
* @return string
*/
public function getMeta(string $fieldName): string
@ -274,7 +274,7 @@ class Account extends Model
/**
* @codeCoverageIgnore
*
* @deprecated
* @param EloquentBuilder $query
* @param string $name
* @param string $value

View File

@ -219,7 +219,7 @@ class TransactionJournal extends Model
* @codeCoverageIgnore
*
* @param string $name
*
* @deprecated
* @return bool
*/
public function hasMeta(string $name): bool

View File

@ -34,6 +34,7 @@ interface JournalTaskerInterface
/**
* @param TransactionJournal $journal
*
* @deprecated
* @return 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
* that shows a transaction (transaction/show/xx).
*
* @deprecated
*
* @param TransactionJournal $journal
*
* @return array