Skip to content

Commit

Permalink
Fix deprecated string interpolation style
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Mar 25, 2023
1 parent 07eb124 commit 6e01617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function get(string $key): Promise
try {
return yield $this->redis->get($key);
} catch (RedisException $e) {
throw new CacheException("Fetching '${key}' from cache failed", 0, $e);
throw new CacheException("Fetching '{$key}' from cache failed", 0, $e);
}
});
}
Expand Down

0 comments on commit 6e01617

Please sign in to comment.