Skip to content

Commit 76d39a7

Browse files
committed
docs
1 parent 30d5076 commit 76d39a7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/Analyser/ArgumentsNormalizer.php‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,10 @@ public static function reorderNewArguments(
297297
* The argument bound to the parameter at $position named $name: the
298298
* positional argument at that index or the one passed by that name.
299299
*
300+
* This method can be useful in simple cases when no reflection is needed.
301+
* In more complex cases where reflection information is available,
302+
* use ParametersAcceptorSelector::selectFromArgs() and ArgumentsNormalizer::reorder*Arguments() instead.
303+
*
300304
* @param Arg[] $args
301305
* @param 0|positive-int $position
302306
* @param non-empty-string $name

0 commit comments

Comments
 (0)