diff --git a/src/ConditionAnalyzer/Analyzer.php b/src/ConditionAnalyzer/Analyzer.php index 9fb0740..5ecba99 100644 --- a/src/ConditionAnalyzer/Analyzer.php +++ b/src/ConditionAnalyzer/Analyzer.php @@ -201,7 +201,7 @@ private function hasValidQueryOperator($hash, $range = null) { $hashCondition = $this->getCondition($hash); - $validQueryOp = ComparisonOperator::isValidQueryDynamoDbOperator($hashCondition['type']); + $validQueryOp = ComparisonOperator::isValidQueryDynamoDbOperator($hashCondition['type'] ?? null); if ($validQueryOp && $range) { $rangeCondition = $this->getCondition($range);