From 443abbbc938ac4933d556f5859b46a29bb0b0270 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 7 Jun 2019 14:56:23 +0200 Subject: [PATCH] fix decl --- app/Controller/Github/Hook/Receive.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controller/Github/Hook/Receive.php b/app/Controller/Github/Hook/Receive.php index 1094fd2..fb695d6 100644 --- a/app/Controller/Github/Hook/Receive.php +++ b/app/Controller/Github/Hook/Receive.php @@ -20,7 +20,7 @@ class Receive implements Controller $this->accounts = $accounts; } - function __invoke(array $args = []) { + function __invoke(array $args = null) { $request = $this->app->getRequest(); $response = $this->app->getResponse(); -- 2.30.2