mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 10:19:24 +02:00
first commit
This commit is contained in:
parent
4df121dd11
commit
472481adf9
2261 changed files with 100201 additions and 5891 deletions
6
vendor/firebase/php-jwt/src/CachedKeySet.php
vendored
6
vendor/firebase/php-jwt/src/CachedKeySet.php
vendored
|
@ -80,9 +80,9 @@ class CachedKeySet implements ArrayAccess
|
|||
ClientInterface $httpClient,
|
||||
RequestFactoryInterface $httpFactory,
|
||||
CacheItemPoolInterface $cache,
|
||||
int $expiresAfter = null,
|
||||
?int $expiresAfter = null,
|
||||
bool $rateLimit = false,
|
||||
string $defaultAlg = null
|
||||
?string $defaultAlg = null
|
||||
) {
|
||||
$this->jwksUri = $jwksUri;
|
||||
$this->httpClient = $httpClient;
|
||||
|
@ -180,7 +180,7 @@ class CachedKeySet implements ArrayAccess
|
|||
$jwksResponse = $this->httpClient->sendRequest($request);
|
||||
if ($jwksResponse->getStatusCode() !== 200) {
|
||||
throw new UnexpectedValueException(
|
||||
sprintf('HTTP Error: %d %s for URI "%s"',
|
||||
\sprintf('HTTP Error: %d %s for URI "%s"',
|
||||
$jwksResponse->getStatusCode(),
|
||||
$jwksResponse->getReasonPhrase(),
|
||||
$this->jwksUri,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue