TooManyArguments
A call provides more arguments than the function accepts.
Example
Section titled “Example”<?phpfunction greet(string $name): string { return "Hello, $name"; }
greet('Alice', 'extra'); // only one parameter acceptedHow to fix
Section titled “How to fix”Remove the extra arguments or add more parameters to the function.