I think there is an error with the documentation of the function Routes::load(...)
* @param array $template A php file to load (ex: 'single.php')
* @param array|bool $tparams An array of data to send to the php file. Inside the php file
...
The $template variable is not I think of type array but of type string, so the phpdoc must be :
* @param string $template A php file to load (ex: 'single.php')
* @param array|bool $tparams An array of data to send to the php file. Inside the php file
...
I have this error : Expected parameter of type 'array', 'string' provided :(
I think there is an error with the documentation of the function
Routes::load(...)
The
$template
variable is not I think of typearray
but of typestring
, so the phpdoc must be :I have this error :
Expected parameter of type 'array', 'string' provided
:(