@@ 89-92 (lines=4) @@ | ||
86 | $operator = $condition->getOperator(); |
|
87 | $field = $condition->getLeft(); |
|
88 | $value = $condition->getRight(); |
|
89 | if ($operator === 'and') { |
|
90 | return $this->isRecordMatchingCondition($primaryKeyValue, $record, $field) |
|
91 | && $this->isRecordMatchingCondition($primaryKeyValue, $record, $value); |
|
92 | } |
|
93 | if ($operator === 'or') { |
|
94 | return $this->isRecordMatchingCondition($primaryKeyValue, $record, $field) |
|
95 | || $this->isRecordMatchingCondition($primaryKeyValue, $record, $value); |
|
@@ 93-96 (lines=4) @@ | ||
90 | return $this->isRecordMatchingCondition($primaryKeyValue, $record, $field) |
|
91 | && $this->isRecordMatchingCondition($primaryKeyValue, $record, $value); |
|
92 | } |
|
93 | if ($operator === 'or') { |
|
94 | return $this->isRecordMatchingCondition($primaryKeyValue, $record, $field) |
|
95 | || $this->isRecordMatchingCondition($primaryKeyValue, $record, $value); |
|
96 | } |
|
97 | if ($field === $this->primaryKey) { |
|
98 | $actualValue = $primaryKeyValue; |
|
99 | } elseif (isset($record[$field])) { |