We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
7.4
4.1.5
Composer (using codeigniter4/appstarter)
codeigniter4/appstarter
Windows
apache
No response
i have error in phpstan analyse
Parameter #2 $params of function view_cell expects null, string given.
on line: return view_cell('\App\Models\CalendrierModel::vueModal', 'id=' . $id);
return view_cell('\App\Models\CalendrierModel::vueModal', 'id=' . $id);
i think the view_cell doc comment is not good
/** * View cells are used within views to insert HTML chunks that are managed * by other classes. * * @param null $params * * @throws ReflectionException */ function view_cell(string $library, $params = null, int $ttl = 0, ?string $cacheName = null): string { return Services::viewcell() ->render($library, $params, $ttl, $cacheName); }
return view_cell('\App\Models\CalendrierModel::vueModal', 'id=' . $id); and phpstan analyse
Parameter 2 $params of function view_cell will accept string or array
The text was updated successfully, but these errors were encountered:
Thank you for reporting. How about this? #5720
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
PHP Version
7.4
CodeIgniter4 Version
4.1.5
CodeIgniter4 Installation Method
Composer (using
codeigniter4/appstarter
)Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
No response
What happened?
i have error in phpstan analyse
on line:
return view_cell('\App\Models\CalendrierModel::vueModal', 'id=' . $id);
i think the view_cell doc comment is not good
Steps to Reproduce
return view_cell('\App\Models\CalendrierModel::vueModal', 'id=' . $id);
and phpstan analyse
Expected Output
Parameter 2 $params of function view_cell will accept string or array
Anything else?
No response
The text was updated successfully, but these errors were encountered: