Skip to content

Commit 7287150

Browse files
phpstan-botclaude
andcommitted
Keep original parameter names in functionMap.php for PHP 7.4
The base functionMap.php is used for PHP 7.4 and below where named arguments do not exist. Only functionMap_php80delta.php needs the PHP 8 parameter names for named argument support. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 631b9d9 commit 7287150

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

resources/functionMap.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7833,10 +7833,10 @@
78337833
'PDOStatement::errorInfo' => ['array'],
78347834
'PDOStatement::execute' => ['bool', 'bound_input_params='=>'?array'],
78357835
'PDOStatement::fetch' => ['mixed', 'how='=>'int', 'orientation='=>'int', 'offset='=>'int'],
7836-
'PDOStatement::fetchAll' => ['array|false', 'mode='=>'int'],
7837-
'PDOStatement::fetchAll\'1' => ['array|false', 'mode'=>'int', 'column'=>'int'],
7838-
'PDOStatement::fetchAll\'2' => ['array|false', 'mode'=>'int', 'class'=>'string', 'constructorArgs='=>'?array'],
7839-
'PDOStatement::fetchAll\'3' => ['array|false', 'mode'=>'int', 'callback'=>'callable'],
7836+
'PDOStatement::fetchAll' => ['array|false', 'how='=>'int'],
7837+
'PDOStatement::fetchAll\'1' => ['array|false', 'fetch_column'=>'int', 'colno'=>'int'],
7838+
'PDOStatement::fetchAll\'2' => ['array|false', 'fetch_class'=>'int', 'classname'=>'string', 'ctorargs='=>'?array'],
7839+
'PDOStatement::fetchAll\'3' => ['array|false', 'fetch_func'=>'int', 'callback'=>'callable'],
78407840
'PDOStatement::fetchColumn' => ['string|null|false|int', 'column_number='=>'int'],
78417841
'PDOStatement::fetchObject' => ['mixed', 'class_name='=>'string', 'ctor_args='=>'?array'],
78427842
'PDOStatement::getAttribute' => ['mixed', 'attribute'=>'int'],

0 commit comments

Comments
 (0)