mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	Code cleanup. [skip ci]
This commit is contained in:
		| @@ -22,12 +22,10 @@ use Log; | ||||
|  */ | ||||
| class DescriptionContains implements TriggerInterface | ||||
| { | ||||
|     /** @var RuleTrigger */ | ||||
|     protected $trigger; | ||||
|  | ||||
|     /** @var TransactionJournal */ | ||||
|     protected $journal; | ||||
|  | ||||
|     /** @var RuleTrigger */ | ||||
|     protected $trigger; | ||||
|  | ||||
|     /** | ||||
|      * TriggerInterface constructor. | ||||
| @@ -41,6 +39,18 @@ class DescriptionContains implements TriggerInterface | ||||
|         $this->journal = $journal; | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * @{inheritdoc} | ||||
|      * | ||||
|      * @see TriggerInterface::matchesAnything | ||||
|      * | ||||
|      * @return bool | ||||
|      */ | ||||
|     public function matchesAnything() | ||||
|     { | ||||
|         return $this->trigger->trigger_value === ""; | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * @return bool | ||||
|      */ | ||||
| @@ -63,16 +73,4 @@ class DescriptionContains implements TriggerInterface | ||||
|         return false; | ||||
|  | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * @{inheritdoc} | ||||
|      * | ||||
|      * @see TriggerInterface::matchesAnything | ||||
|      * | ||||
|      * @return bool | ||||
|      */ | ||||
|     public function matchesAnything() | ||||
|     { | ||||
|         return $this->trigger->trigger_value === ""; | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user