I am encountering an issue with the PHP Intelephense extension in Visual Studio Code. When using the fetch() method with PDO::FETCH_ASSOC, I receive the following error message:
"Too many arguments to function fetch(). 1 provided, but 0 accepted."
Intelephense's argument count diagnostic message is Expected ${expected} arguments. Found ${actual}. I think this message must be coming from a different extension.
I am encountering an issue with the PHP Intelephense extension in Visual Studio Code. When using the
fetch()
method withPDO::FETCH_ASSOC
, I receive the following error message:"Too many arguments to function fetch(). 1 provided, but 0 accepted."