From e486905c83484744246ce0558b16d407df2d02b8 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 8 Mar 2019 16:57:20 +0100 Subject: [PATCH] cast URL to string --- app/Github/API.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2