Fix type bug

This commit is contained in:
Dennis Eichhorn 2018-08-17 20:00:34 +02:00
parent cd8f4945e6
commit df2bd5b624

View File

@ -91,7 +91,7 @@ final class Router
*
* @since 1.0.0
*/
public function route(string $request, int $verb = RouteVerb::GET, string $app = '', string $orgId = '', $account = null) : array
public function route(string $request, int $verb = RouteVerb::GET, string $app = '', int $orgId = 1, $account = null) : array
{
$bound = [];
foreach ($this->routes as $route => $destination) {