This commit is contained in:
James Cole
2021-02-08 15:12:04 +01:00
parent 18a9d90d46
commit 1558da60aa
5 changed files with 58 additions and 34 deletions

View File

@@ -37,9 +37,11 @@ interface ActionInterface
public function __construct(RuleAction $action);
/**
* Execute the action on an array.
* Execute the action on an array. Returns "true" if the action was a success and the action
* was applied. Returns false if otherwise.
*
* @param array $journal
*
* @return bool
*/
public function actOnArray(array $journal): bool;