Skip to content

Commit f2b34be

Browse files
committed
Fix copy-paste error
1 parent 1f2e7f1 commit f2b34be

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Mysqli/MysqliStatement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public function prepareParameterKeyMapping($sql)
198198
}
199199

200200
if (!isset($mapping[$match[0]])) {
201-
$mapping[$match[0]][] = [];
201+
$mapping[$match[0]] = [];
202202
}
203203

204204
$mapping[$match[0]][] = $position++;

src/Sqlsrv/SqlsrvStatement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public function prepareParameterKeyMapping($sql)
203203
}
204204

205205
if (!isset($mapping[$match[0]])) {
206-
$mapping[$match[0]][] = [];
206+
$mapping[$match[0]] = [];
207207
}
208208

209209
$mapping[$match[0]][] = $position++;

0 commit comments

Comments
 (0)