Skip to content

Commit 688cf9f

Browse files
refactor(Stub): using === operator
1 parent cc9d8b6 commit 688cf9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/Repositories/Redis/getAllBy/base.query_cache_strategy.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $cacheKey = $this->redisRepository->makeKey([
55

66
$entities = $this->redisRepository->get($cacheKey);
77

8-
if (is_null($entities)) {
8+
if ($entities === null) {
99
$entities = $this->repository->{{ FunctionName }}(${{ ColumnName }});
1010
$this->redisRepository->put($cacheKey, $entities);
1111
}

0 commit comments

Comments
 (0)