diff --git a/src/providers/Aweber.php b/src/providers/Aweber.php index 069f1f3..52dae1e 100644 --- a/src/providers/Aweber.php +++ b/src/providers/Aweber.php @@ -24,7 +24,7 @@ public function getBaseApiUrl(?Token $token): ?string public function getApiRequestQueryParams(?Token $token): array { return [ - 'access_token' => $token?->getToken() ?? '', + 'access_token' => (string)($token?->getToken() ?? ''), ]; } } \ No newline at end of file diff --git a/src/providers/Deezer.php b/src/providers/Deezer.php index 1cfbbb4..bcdfcc3 100644 --- a/src/providers/Deezer.php +++ b/src/providers/Deezer.php @@ -24,7 +24,7 @@ public function getBaseApiUrl(?Token $token): ?string public function getApiRequestQueryParams(?Token $token): array { return [ - 'access_token' => $token?->getToken() ?? '', + 'access_token' => (string)($token?->getToken() ?? ''), ]; } } \ No newline at end of file diff --git a/src/providers/Disqus.php b/src/providers/Disqus.php index efda4e2..782133e 100644 --- a/src/providers/Disqus.php +++ b/src/providers/Disqus.php @@ -24,7 +24,7 @@ public function getBaseApiUrl(?Token $token): ?string public function getApiRequestQueryParams(?Token $token): array { return [ - 'access_token' => $token?->getToken() ?? '', + 'access_token' => (string)($token?->getToken() ?? ''), ]; } } \ No newline at end of file diff --git a/src/providers/Dribbble.php b/src/providers/Dribbble.php index da0a0d7..305a4b1 100644 --- a/src/providers/Dribbble.php +++ b/src/providers/Dribbble.php @@ -24,7 +24,7 @@ public function getBaseApiUrl(?Token $token): ?string public function getApiRequestQueryParams(?Token $token): array { return [ - 'access_token' => $token?->getToken() ?? '', + 'access_token' => (string)($token?->getToken() ?? ''), ]; } } \ No newline at end of file diff --git a/src/providers/Facebook.php b/src/providers/Facebook.php index ef5564a..367d50d 100644 --- a/src/providers/Facebook.php +++ b/src/providers/Facebook.php @@ -24,7 +24,7 @@ public function getBaseApiUrl(?Token $token): ?string public function getApiRequestQueryParams(?Token $token): array { return [ - 'access_token' => $token?->getToken() ?? '', + 'access_token' => (string)($token?->getToken() ?? ''), ]; } } \ No newline at end of file diff --git a/src/providers/Generic.php b/src/providers/Generic.php index 4442642..2e760d0 100644 --- a/src/providers/Generic.php +++ b/src/providers/Generic.php @@ -25,7 +25,7 @@ public function getBaseApiUrl(?Token $token): ?string public function getApiRequestQueryParams(?Token $token): array { return [ - 'access_token' => $token?->getToken() ?? '', + 'access_token' => (string)($token?->getToken() ?? ''), ]; } } \ No newline at end of file diff --git a/src/providers/Instagram.php b/src/providers/Instagram.php index e5665d8..8457631 100644 --- a/src/providers/Instagram.php +++ b/src/providers/Instagram.php @@ -26,7 +26,7 @@ public function getBaseApiUrl(?Token $token): ?string public function getApiRequestQueryParams(?Token $token): array { return [ - 'access_token' => $token?->getToken() ?? '', + 'access_token' => (string)($token?->getToken() ?? ''), ]; } diff --git a/src/providers/Meetup.php b/src/providers/Meetup.php index 748339e..5f9fb07 100644 --- a/src/providers/Meetup.php +++ b/src/providers/Meetup.php @@ -24,7 +24,7 @@ public function getBaseApiUrl(?Token $token): ?string public function getApiRequestQueryParams(?Token $token): array { return [ - 'access_token' => $token?->getToken() ?? '', + 'access_token' => (string)($token?->getToken() ?? ''), ]; } } \ No newline at end of file diff --git a/src/providers/Microsoft.php b/src/providers/Microsoft.php index fb72863..76368b9 100644 --- a/src/providers/Microsoft.php +++ b/src/providers/Microsoft.php @@ -24,7 +24,7 @@ public function getBaseApiUrl(?Token $token): ?string public function getApiRequestQueryParams(?Token $token): array { return [ - 'access_token' => $token?->getToken() ?? '', + 'access_token' => (string)($token?->getToken() ?? ''), ]; } } \ No newline at end of file diff --git a/src/providers/MicrosoftEntra.php b/src/providers/MicrosoftEntra.php index 8cfeabc..64867d9 100644 --- a/src/providers/MicrosoftEntra.php +++ b/src/providers/MicrosoftEntra.php @@ -24,7 +24,7 @@ public function getBaseApiUrl(?Token $token): ?string public function getApiRequestQueryParams(?Token $token): array { return [ - 'access_token' => $token?->getToken() ?? '', + 'access_token' => (string)($token?->getToken() ?? ''), ]; } } \ No newline at end of file diff --git a/src/providers/Odnoklassniki.php b/src/providers/Odnoklassniki.php index 140dcfa..987ac0b 100644 --- a/src/providers/Odnoklassniki.php +++ b/src/providers/Odnoklassniki.php @@ -24,7 +24,7 @@ public function getBaseApiUrl(?Token $token): ?string public function getApiRequestQueryParams(?Token $token): array { return [ - 'access_token' => $token?->getToken() ?? '', + 'access_token' => (string)($token?->getToken() ?? ''), ]; } } \ No newline at end of file diff --git a/src/providers/Pinterest.php b/src/providers/Pinterest.php index 73017bd..e47ff1d 100644 --- a/src/providers/Pinterest.php +++ b/src/providers/Pinterest.php @@ -24,7 +24,7 @@ public function getBaseApiUrl(?Token $token): ?string public function getApiRequestQueryParams(?Token $token): array { return [ - 'access_token' => $token?->getToken() ?? '', + 'access_token' => (string)($token?->getToken() ?? ''), ]; } } \ No newline at end of file diff --git a/src/providers/Snapchat.php b/src/providers/Snapchat.php index 1806f0f..9a94951 100644 --- a/src/providers/Snapchat.php +++ b/src/providers/Snapchat.php @@ -24,7 +24,7 @@ public function getBaseApiUrl(?Token $token): ?string public function getApiRequestQueryParams(?Token $token): array { return [ - 'access_token' => $token?->getToken() ?? '', + 'access_token' => (string)($token?->getToken() ?? ''), ]; } } \ No newline at end of file diff --git a/src/providers/StackExchange.php b/src/providers/StackExchange.php index 5638c96..9bbd0a6 100644 --- a/src/providers/StackExchange.php +++ b/src/providers/StackExchange.php @@ -24,7 +24,7 @@ public function getBaseApiUrl(?Token $token): ?string public function getApiRequestQueryParams(?Token $token): array { return [ - 'access_token' => $token?->getToken() ?? '', + 'access_token' => (string)($token?->getToken() ?? ''), ]; } } \ No newline at end of file diff --git a/src/providers/Unsplash.php b/src/providers/Unsplash.php index 837a664..b7ed6c4 100644 --- a/src/providers/Unsplash.php +++ b/src/providers/Unsplash.php @@ -24,7 +24,7 @@ public function getBaseApiUrl(?Token $token): ?string public function getApiRequestQueryParams(?Token $token): array { return [ - 'access_token' => $token?->getToken() ?? '', + 'access_token' => (string)($token?->getToken() ?? ''), ]; } } \ No newline at end of file diff --git a/src/providers/Vimeo.php b/src/providers/Vimeo.php index 0f1e6ec..3ede6fa 100644 --- a/src/providers/Vimeo.php +++ b/src/providers/Vimeo.php @@ -24,7 +24,7 @@ public function getBaseApiUrl(?Token $token): ?string public function getApiRequestQueryParams(?Token $token): array { return [ - 'access_token' => $token?->getToken() ?? '', + 'access_token' => (string)($token?->getToken() ?? ''), ]; } } \ No newline at end of file