From: Michael Wallner Date: Fri, 8 Mar 2019 15:57:20 +0000 (+0100) Subject: cast URL to string X-Git-Url: https://git.m6w6.name/?p=pharext%2Fpharext.org;a=commitdiff_plain;h=e486905c83484744246ce0558b16d407df2d02b8 cast URL to string --- diff --git a/app/Github/API.php b/app/Github/API.php index 3eea40d..bddd167 100644 --- a/app/Github/API.php +++ b/app/Github/API.php @@ -133,7 +133,7 @@ class API "state" => $state, "client_id" => $this->config->client->id, "scope" => $this->config->client->scope, - "redirect_uri" => $callback_url, + "redirect_uri" => (string) $callback_url, ]; return new Url("https://github.com/login/oauth/authorize", [ "query" => new QueryString($param)