Skip to content

Firefly III: a personal finances manager

Mark methods as deprecated.

James Colea9356ca1e2ad
diff --git a/app/Models/Account.php b/app/Models/Account.php
index 6771ef16fc..53c9e43aee 100644
--- a/app/Models/Account.php
+++ b/app/Models/Account.php
@@ -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
diff --git a/app/Models/TransactionJournal.php b/app/Models/TransactionJournal.php
index 7694cd82f9..772ff9d2f6 100644
--- a/app/Models/TransactionJournal.php
+++ b/app/Models/TransactionJournal.php
@@ -219,7 +219,7 @@ class TransactionJournal extends Model
* @codeCoverageIgnore
*
* @param string $name
- *
+ * @deprecated
* @return bool
*/
public function hasMeta(string $name): bool
diff --git a/app/Repositories/Journal/JournalTaskerInterface.php b/app/Repositories/Journal/JournalTaskerInterface.php
index 06d9294654..59ba988f67 100644
--- a/app/Repositories/Journal/JournalTaskerInterface.php
+++ b/app/Repositories/Journal/JournalTaskerInterface.php
@@ -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