From: Michael Wallner Date: Fri, 7 Jun 2019 12:56:23 +0000 (+0200) Subject: fix decl X-Git-Url: https://git.m6w6.name/?p=pharext%2Fpharext.org;a=commitdiff_plain;h=443abbbc938ac4933d556f5859b46a29bb0b0270 fix decl --- 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();