Code cleanup. [skip ci]

This commit is contained in:
James Cole
2016-02-17 15:38:21 +01:00
parent 9cac61dc33
commit 0d44f82c86
17 changed files with 240 additions and 277 deletions

View File

@@ -21,12 +21,10 @@ use Log;
*/
class UserAction implements TriggerInterface
{
/** @var RuleTrigger */
protected $trigger;
/** @var TransactionJournal */
protected $journal;
/** @var RuleTrigger */
protected $trigger;
/**
* TriggerInterface constructor.
@@ -41,18 +39,6 @@ class UserAction implements TriggerInterface
}
/**
* This trigger is always triggered, because the rule that it is a part of has been pre-selected on this condition.
*
* @return bool
*/
public function triggered()
{
Log::debug('user_action always returns true.');
return true;
}
/**
* @{inheritdoc}
*
@@ -65,4 +51,16 @@ class UserAction implements TriggerInterface
return true;
}
/**
* This trigger is always triggered, because the rule that it is a part of has been pre-selected on this condition.
*
* @return bool
*/
public function triggered()
{
Log::debug('user_action always returns true.');
return true;
}
}