Skip to content

Commit 9b78c70

Browse files
committed
Fixed param check
1 parent c3a689d commit 9b78c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DbWrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function rollbackTransaction()
137137
*/
138138
public function getLastInsertedId($name = null)
139139
{
140-
ParamsChecker::isNullOrString($name);
140+
ParamsChecker::isNullOrString('$name', $name, __METHOD__);
141141
return $this->pdo->lastInsertId($name);
142142
}
143143

0 commit comments

Comments
 (0)