New issue
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
Phpstan Level6 for View.php #5269
Phpstan Level6 for View.php #5269
Conversation
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
I have made a few more improvements / fixes c0ec012 |
I add ./app/Models/View.php quickly |
…feature/phpstan-view-file
done |
To get some of types right, some more types had to be added to related files. |
I think it's Ok |
Regression from FreshRSS#5269
@@ -14,7 +14,7 @@ | |||
?> | |||
|
|||
<?php if (!empty($items)) { ?> | |||
<?php $this->logsPaginator->render('logs_pagination.phtml', 'page'); ?> | |||
<?php $this->logsPaginator->render('logs_pagination.phtml', 0); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was wrong, breaking the pagination. Fixed in #5403
* Fix logs pagination Regression from #5269 * Add better default
* Fix logs pagination Regression from FreshRSS#5269 * Add better default
Native type forgotten from FreshRSS#5269 FreshRSS#5213
* @param array<string,mixed> $listDAO | ||
* @return array<int,FreshRSS_Category> | ||
*/ | ||
private static function daoToCategoryPrepopulated(array $listDAO) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Native array return type forgotten: fixed in #6046
Changes proposed in this pull request:
Pull request checklist: