Skip to content
Permalink
Browse files

Fix the return type of the JwtManager::decodeJwt() method

  • Loading branch information...
leofeyer committed Jun 5, 2019
1 parent 72f1460 commit 6c52109fb01e7faa3e5c75e1984f8029b83256d8
Showing with 3 additions and 3 deletions.
  1. +1 −1 composer.json
  2. +1 −1 core-bundle/composer.json
  3. +1 −1 core-bundle/src/HttpKernel/JwtManager.php
@@ -43,12 +43,12 @@
"doctrine/dbal": "^2.5",
"doctrine/doctrine-bundle": "^1.7.2",
"doctrine/doctrine-cache-bundle": "^1.3",
"firebase/php-jwt": "^4.0",
"friendsofsymfony/http-cache": "^2.6",
"friendsofsymfony/http-cache-bundle": "^2.6",
"imagine/imagine": "^0.7 || ^1.0",
"knplabs/knp-menu-bundle": "^2.1",
"knplabs/knp-time-bundle": "^1.5.2",
"lcobucci/jwt": "^3.3",
"leafo/scssphp": "^0.7.1",
"league/uri": "^5.0",
"lexik/maintenance-bundle": "^2.1.3",
@@ -47,7 +47,7 @@
"imagine/imagine": "^0.7 || ^1.0",
"knplabs/knp-menu-bundle": "^2.1",
"knplabs/knp-time-bundle": "^1.5.2",
"lcobucci/jwt": "^3.2",
"lcobucci/jwt": "^3.3",
"leafo/scssphp": "^0.7.1",
"league/uri": "^5.0",
"matthiasmullie/minify": "^1.3",
@@ -151,7 +151,7 @@ private function hasCookie(Response $response): bool
return false;
}
private function decodeJwt(string $data): array
private function decodeJwt(string $data): ?array
{
$token = $this->parser->parse($data);

0 comments on commit 6c52109

Please sign in to comment.
You can’t perform that action at this time.