File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,13 +77,13 @@ public function execute(array $params = []) {
77
77
/**
78
78
* @param int $fetchStyle
79
79
* @param mixed|null $fetchArgument
80
- * @param array< mixed, mixed> $ctorArgs
80
+ * @param mixed[] $ctorArgs
81
81
* @return array<mixed, mixed>
82
82
*/
83
83
public function fetchAll ($ fetchStyle = PDO ::FETCH_ASSOC , $ fetchArgument = null , array $ ctorArgs = []): array {
84
84
return $ this ->exceptionHandler (function () use ($ fetchStyle , $ fetchArgument , $ ctorArgs ) {
85
85
if ($ fetchArgument !== null ) {
86
- return $ this ->statement ->fetchAll ($ fetchStyle , $ fetchArgument , $ ctorArgs );
86
+ return $ this ->statement ->fetchAll ($ fetchStyle , $ fetchArgument , ... $ ctorArgs );
87
87
}
88
88
return $ this ->statement ->fetchAll ($ fetchStyle );
89
89
});
You can’t perform that action at this time.
0 commit comments