Skip to content

Commit d4b4f34

Browse files
authored
Merge pull request #193 from Tegos/master
fix notice `Undefined index: operator` #69
2 parents ca2f56d + 7316cce commit d4b4f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CacheKey.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ protected function getQueryColumns(array $columns) : string
9797

9898
protected function getTypeClause($where) : string
9999
{
100-
$type = in_array($where["type"], ["In", "NotIn", "Null", "NotNull", "between", "NotInSub", "InSub", "JsonContains"])
100+
$type = in_array($where["type"], ["InRaw", "In", "NotIn", "Null", "NotNull", "between", "NotInSub", "InSub", "JsonContains"])
101101
? strtolower($where["type"])
102102
: strtolower($where["operator"]);
103103

0 commit comments

Comments
 (0)