Skip to content

Commit 73d1339

Browse files
committed
Added: equals_strict match type.
1 parent 2b457fc commit 73d1339

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Processor.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,10 @@ public function matchParameterValue($match, $value)
289289
return $matchValue == $value;
290290
}
291291

292+
if ($matchType == 'equals_strict' && is_scalar($value) && is_scalar($matchValue)) {
293+
return $matchValue === $value;
294+
}
295+
292296
if ($matchType == 'more_than' && is_scalar($value) && is_scalar($matchValue)) {
293297
return $value > $matchValue;
294298
}

0 commit comments

Comments
 (0)