Skip to content

Commit

Permalink
Update AbstractHydraClient.php
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasglachant committed Jan 23, 2020
1 parent 4811cfe commit f80f0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClientHydra/Client/AbstractHydraClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public function setAuthorizationToken(string $token, string $type = 'bearer'): v

public function cacheWarmUp(): void
{
if (self::$cache_initialized) {
if (self::$cache_initialized || null === $this->adapter->getPersistantCache()) {
return;
}
self::$cache_initialized = true;
Expand Down

0 comments on commit f80f0cb

Please sign in to comment.