From 06fd795be1c327f703c15ea46be35af739c6f819 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 9 Feb 2019 19:42:23 +0100 Subject: [PATCH] inspection fixes --- Templates/Permission/Workflow.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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