Skip to content

Commit

Permalink
Should fix static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkGhostHunter committed Jan 29, 2025
1 parent f1de325 commit 8e0afa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CacheAwareConnectionProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public function __call($method, $arguments)
*/
protected function returnResultsUsingFlexible(string $query, string $key, array $bindings, bool $useReadPdo): mixed
{
return $this->repository
return $this->repository // @phpstan-ignore-line
->flexible($key, $this->ttl, function () use ($query, $bindings, $key, $useReadPdo): mixed {
$results = $this->connection->select($query, $bindings, $useReadPdo);

Expand Down

0 comments on commit 8e0afa9

Please sign in to comment.