Mark methods as deprecated.

This commit is contained in:
James Cole
2018-03-11 13:30:58 +01:00
parent cfba11e9ca
commit a9356ca1e2
3 changed files with 6 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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