From 8a0164b6b967d44a2c5e0a9a398497ef77465c05 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Tue, 15 Oct 2019 20:20:06 +0200 Subject: Adjust user UserWorkflowController methods to AWorflowController MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/workflowengine/lib/Controller/UserWorkflowsController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/workflowengine/lib/Controller') diff --git a/apps/workflowengine/lib/Controller/UserWorkflowsController.php b/apps/workflowengine/lib/Controller/UserWorkflowsController.php index 179e6b1ad11..3e907d22696 100644 --- a/apps/workflowengine/lib/Controller/UserWorkflowsController.php +++ b/apps/workflowengine/lib/Controller/UserWorkflowsController.php @@ -79,8 +79,8 @@ class UserWorkflowsController extends AWorkflowController { * @throws OCSBadRequestException * @throws OCSForbiddenException */ - public function create(string $class, string $name, array $checks, string $operation): DataResponse { - return parent::create($class, $name, $checks, $operation); + public function create(string $class, string $name, array $checks, string $operation, string $entity, array $events): DataResponse { + return parent::create($class, $name, $checks, $operation, $entity, $events); } /** @@ -88,8 +88,8 @@ class UserWorkflowsController extends AWorkflowController { * @throws OCSBadRequestException * @throws OCSForbiddenException */ - public function update(int $id, string $name, array $checks, string $operation): DataResponse { - return parent::update($id, $name, $checks, $operation); + public function update(int $id, string $name, array $checks, string $operation, string $entity, array $events): DataResponse { + return parent::update($id, $name, $checks, $operation, $entity, $events); } /** -- cgit v1.2.3