Back to Psalm

TooManyArguments

docs/running_psalm/issues/TooManyArguments.md

6.16.1174 B
Original Source

TooManyArguments

Emitted when calling a function with more arguments than the function has parameters

php
<?php

function foo(string $a) : void {}
foo("hello", 4);