Skip to content

Commit

Permalink
Merge pull request #18 from madeITBelgium/patch-2
Browse files Browse the repository at this point in the history
Fix undefined function array_set
  • Loading branch information
schulzefelix authored Jan 30, 2020
2 parents 58073de + d5d91aa commit 8cc25cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SearchConsoleClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use GuzzleHttp\Client;
use Google_Service_Webmasters;
use Illuminate\Support\Collection;
use Illuminate\Support\Arr;

class SearchConsoleClient
{
Expand Down Expand Up @@ -105,7 +106,7 @@ public function setQuotaUser(string $quotaUser)

$guzzleConfig = $this->googleClient->getHttpClient()->getConfig();

array_set($guzzleConfig, 'base_uri', Google_Client::API_BASE_PATH.'?quotaUser='.$quotaUser);
Arr::set($guzzleConfig, 'base_uri', Google_Client::API_BASE_PATH.'?quotaUser='.$quotaUser);

$guzzleClient = new Client($guzzleConfig);

Expand Down

0 comments on commit 8cc25cc

Please sign in to comment.