Skip to content

Commit 9e24343

Browse files
committed
Fixed some typing
1 parent cb55ddc commit 9e24343

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Builder/QueryStatement.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@ public function execute(array $params = []) {
7777
/**
7878
* @param int $fetchStyle
7979
* @param mixed|null $fetchArgument
80-
* @param array<mixed, mixed> $ctorArgs
80+
* @param mixed[] $ctorArgs
8181
* @return array<mixed, mixed>
8282
*/
8383
public function fetchAll($fetchStyle = PDO::FETCH_ASSOC, $fetchArgument = null, array $ctorArgs = []): array {
8484
return $this->exceptionHandler(function() use ($fetchStyle, $fetchArgument, $ctorArgs) {
8585
if($fetchArgument !== null) {
86-
return $this->statement->fetchAll($fetchStyle, $fetchArgument, $ctorArgs);
86+
return $this->statement->fetchAll($fetchStyle, $fetchArgument, ...$ctorArgs);
8787
}
8888
return $this->statement->fetchAll($fetchStyle);
8989
});

0 commit comments

Comments
 (0)