Missing dynamic return type for Nette\Http\Session::getSection()
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by locating the PHPStan extension handling Nette\Http\Session::getSection() and inspect how its optional second parameter affects the returned class. Check the existing tests for this method, then confirm that calls with different class arguments receive the corresponding dynamic return type.
Written by the indexing model from the issue text.
Description
Method Nette\Http\Session::getSection() has optional second parameter which can change class of returned object.
This extension does not support it and always returns Nette\Http\SessionSection class.
- Dominant language
- PHP
- Stars
- 118
- Forks
- 44
- Avg merge
- 17d 5h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from phpstan/phpstan-nette
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
phpstan/phpstan-nette#213 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
phpstan/phpstan-nette#147 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
phpstan/phpstan-nette#141 · 6 comments ·
-
Dependency Dashboard Open
Difficulty 4/5 3-5 days Newbie friendliness 20/100
phpstan/phpstan-nette#94 ·
-
Form events errors Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
phpstan/phpstan-nette#82 · 3 comments ·
All issues in phpstan/phpstan-nette
Similar issues
-
a11y admissions.uiowa.edu needs grooming SiteImprove best practice
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Save States Menu Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
pluginsGLPI/datainjection#673 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
octobercms/october#6130 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
getgrav/grav-plugin-form#656 ·