|
@@ 77-80 (lines=4) @@
|
| 74 |
|
$isMatch = false; |
| 75 |
|
|
| 76 |
|
// If both are a scalar ... |
| 77 |
|
if ($this->isScalar($filterValue) && $this->isScalar($entryValue)) { |
| 78 |
|
Logger::log("query:" . $filterValue . " and entry:" . $entryValue . " are both scalars.\n"); |
| 79 |
|
$isMatch = $filterValue === $entryValue; |
| 80 |
|
} |
| 81 |
|
// If both are a list ... |
| 82 |
|
if ($this->isList($filterValue) && $this->isList($entryValue)) { |
| 83 |
|
Logger::log("query:" . json_encode($filterValue) . " and entry:" . json_encode($entryValue) . " are both lists.\n"); |
|
@@ 82-85 (lines=4) @@
|
| 79 |
|
$isMatch = $filterValue === $entryValue; |
| 80 |
|
} |
| 81 |
|
// If both are a list ... |
| 82 |
|
if ($this->isList($filterValue) && $this->isList($entryValue)) { |
| 83 |
|
Logger::log("query:" . json_encode($filterValue) . " and entry:" . json_encode($entryValue) . " are both lists.\n"); |
| 84 |
|
$isMatch = $filterValue === $entryValue; |
| 85 |
|
} |
| 86 |
|
|
| 87 |
|
// If both are a document ... |
| 88 |
|
if ($this->isDocument($filterValue) && $this->isDocument($entryValue)) { |