mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-03 20:56:21 +00:00
Expand tests, do code cleanup.
This commit is contained in:
@@ -51,6 +51,7 @@ class ClearNotes implements ActionInterface
|
||||
* @param TransactionJournal $journal
|
||||
*
|
||||
* @return bool
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function act(TransactionJournal $journal): bool
|
||||
{
|
||||
|
||||
@@ -47,6 +47,7 @@ class ActionFactory
|
||||
* @param RuleAction $action
|
||||
*
|
||||
* @return ActionInterface
|
||||
* @throws FireflyException
|
||||
*/
|
||||
public static function getAction(RuleAction $action): ActionInterface
|
||||
{
|
||||
|
||||
@@ -49,6 +49,7 @@ class TriggerFactory
|
||||
* @param RuleTrigger $trigger
|
||||
*
|
||||
* @return AbstractTrigger
|
||||
* @throws FireflyException
|
||||
*/
|
||||
public static function getTrigger(RuleTrigger $trigger)
|
||||
{
|
||||
|
||||
@@ -95,6 +95,7 @@ final class Processor
|
||||
* @param string $triggerValue
|
||||
*
|
||||
* @return Processor
|
||||
* @throws \FireflyIII\Exceptions\FireflyException
|
||||
*/
|
||||
public static function makeFromString(string $triggerName, string $triggerValue)
|
||||
{
|
||||
@@ -118,6 +119,7 @@ final class Processor
|
||||
* @param array $triggers
|
||||
*
|
||||
* @return Processor
|
||||
* @throws \FireflyIII\Exceptions\FireflyException
|
||||
*/
|
||||
public static function makeFromStringArray(array $triggers)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user