mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Removed all constructors from all triggers.
This commit is contained in:
@@ -10,7 +10,6 @@ declare(strict_types = 1);
|
||||
|
||||
namespace FireflyIII\Rules\Triggers;
|
||||
|
||||
use FireflyIII\Models\RuleTrigger;
|
||||
use FireflyIII\Models\TransactionJournal;
|
||||
use Log;
|
||||
|
||||
@@ -19,24 +18,9 @@ use Log;
|
||||
*
|
||||
* @package FireflyIII\Rules\Triggers
|
||||
*/
|
||||
class ToAccountContains implements TriggerInterface
|
||||
class ToAccountContains extends AbstractTrigger implements TriggerInterface
|
||||
{
|
||||
|
||||
|
||||
/** @var RuleTrigger */
|
||||
protected $trigger;
|
||||
|
||||
/**
|
||||
* TriggerInterface constructor.
|
||||
*
|
||||
* @param RuleTrigger $trigger
|
||||
*/
|
||||
public function __construct(RuleTrigger $trigger)
|
||||
{
|
||||
$this->trigger = $trigger;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* A trigger is said to "match anything", or match any given transaction,
|
||||
* when the trigger value is very vague or has no restrictions. Easy examples
|
||||
|
Reference in New Issue
Block a user