mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Some cleaning up courtesy of PHPStorm.
This commit is contained in:
		| @@ -8,6 +8,7 @@ | ||||
|  */ | ||||
|  | ||||
| namespace FireflyIII\Rules\Actions; | ||||
|  | ||||
| use FireflyIII\Models\RuleAction; | ||||
| use FireflyIII\Models\TransactionJournal; | ||||
|  | ||||
| @@ -21,7 +22,7 @@ interface ActionInterface | ||||
|     /** | ||||
|      * TriggerInterface constructor. | ||||
|      * | ||||
|      * @param RuleAction $action | ||||
|      * @param RuleAction         $action | ||||
|      * @param TransactionJournal $journal | ||||
|      */ | ||||
|     public function __construct(RuleAction $action, TransactionJournal $journal); | ||||
|   | ||||
| @@ -15,6 +15,7 @@ use FireflyIII\Models\RuleAction; | ||||
| use FireflyIII\Models\TransactionJournal; | ||||
| use FireflyIII\Repositories\Budget\BudgetRepositoryInterface; | ||||
| use Log; | ||||
|  | ||||
| /** | ||||
|  * Class SetBudget | ||||
|  * | ||||
| @@ -56,7 +57,7 @@ class SetBudget implements ActionInterface | ||||
|             Log::debug('Will set budget "' . $search . '" (#' . $budget->id . ') on journal #' . $this->journal->id . '.'); | ||||
|             $this->journal->budgets()->save($budget); | ||||
|         } else { | ||||
|             Log::debug('Could not find budget "'.$search.'". Failed.'); | ||||
|             Log::debug('Could not find budget "' . $search . '". Failed.'); | ||||
|         } | ||||
|  | ||||
|         return true; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user