fix decl
authorMichael Wallner <root@s201809.m6w6.name>
Fri, 7 Jun 2019 12:56:23 +0000 (14:56 +0200)
committerMichael Wallner <root@s201809.m6w6.name>
Fri, 7 Jun 2019 12:56:23 +0000 (14:56 +0200)
app/Controller/Github/Hook/Receive.php

index 1094fd25e45491c894d07ae3f15389a228fb3079..fb695d6bf630b6fecf2218912ad4787835062cd3 100644 (file)
@@ -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();