Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcanhelp committed Oct 30, 2019
1 parent cf6ecfd commit d4d2173
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/Auth0.php
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ public function __construct(array $config)
$this->stateHandler = new SessionStateHandler($stateStore);
}

if (isset($config['cache_handler']) && $config['cache_handler']) {
if (isset($config['cache_handler']) && $config['cache_handler'] instanceof CacheHandler ) {
$this->cacheHandler = $config['cache_handler'];
} else {
$this->cacheHandler = new NoCacheHandler();
Expand Down
1 change: 0 additions & 1 deletion src/Helpers/Tokens/IdTokenVerifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
namespace Auth0\SDK\Helpers\Tokens;

use Auth0\SDK\Exception\InvalidTokenException;
use stdClass;

/**
* Class IdTokenVerifier
Expand Down
2 changes: 0 additions & 2 deletions src/Helpers/Tokens/SignatureVerifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
abstract class SignatureVerifier
{

/**
* Token algorithm value.
*
Expand Down Expand Up @@ -84,5 +83,4 @@ final public function verifyAndDecode(string $token) : Token

return $parsedToken;
}

}

0 comments on commit d4d2173

Please sign in to comment.