diff --git a/Templates/Permission/Workflow.php b/Templates/Permission/Workflow.php index 43cf733..d6f54b2 100644 --- a/Templates/Permission/Workflow.php +++ b/Templates/Permission/Workflow.php @@ -52,17 +52,21 @@ class Workflow implements WorkflowInterface return $this->state; } - public function runRequest($data) : void + public function runRequest($data) : int { // todo: create workflow // todo: create task // todo: set state + + return 0; } - public function runPending($data) : void + public function runPending($data) : int { // todo: approve?! // todo: + + return 0; } public function getState() : int