Skip to content

Commit 89a4692

Browse files
committed
fix: bind keyless placeholders using new method
fixes #385
1 parent 4254f0f commit 89a4692

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/PlaceholderBinder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function bind(
4343
preg_match_all($regex, $nodeValue, $matches);
4444

4545
foreach($matches[0] as $i => $subjectToReplace) {
46-
if($key !== $matches["KEY"][$i]) {
46+
if($key != $matches["KEY"][$i]) {
4747
continue;
4848
}
4949

test/phpunit/phpunit.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" processIsolation="false">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
33
<coverage>
44
<include>
55
<directory suffix=".php">../../src</directory>

0 commit comments

Comments
 (0)