Affected page
https://www.php.net/manual/en/function.sqlsrv-fetch-array.php
Issue description
The function sqlsrv_fetch_array() is only defined with the return type array. Looking to the the return value description of this page it states:
Returns an array on success, null if there are no more rows to return, and false if an error occurs.
Steps to reproduce
N/A
Suggested fix
Expand the return type of the function definition to sqlsrv_fetch_array(): array|false|null.
Affected page
https://www.php.net/manual/en/function.sqlsrv-fetch-array.php
Issue description
The function
sqlsrv_fetch_array()is only defined with the return typearray. Looking to the the return value description of this page it states:Steps to reproduce
N/A
Suggested fix
Expand the return type of the function definition to
sqlsrv_fetch_array(): array|false|null.