diff --git a/composer.json b/composer.json index d1c737b..11dacf8 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "php": ">=8.1", "ext-openssl": "*", "ext-sodium": "*", - "web-token/jwt-checker": "^3.2", + "web-token/jwt-checker": "^4.0", "web-token/jwt-core": "^3.0", "web-token/jwt-framework": "^3.2", "web-token/jwt-key-mgmt": "^3.2", diff --git a/src/OpenId.php b/src/OpenId.php index ad040fe..0ba60b9 100644 --- a/src/OpenId.php +++ b/src/OpenId.php @@ -389,7 +389,7 @@ public function discover($url) $yadis = true; // We'll jump a maximum of 5 times, to avoid endless redirections. - for ($i = 0; $i < 5; $i ++) { + for ($i = 0; $i < 5; $i++) { if ($yadis) { $headers = $this->sendRequest($url, 'HEAD');