Skip to content

Update README with missing feature descriptions#191

Merged
ondrejmirtes merged 1 commit into2.0.xfrom
readme-add-missing-features
Feb 19, 2026
Merged

Update README with missing feature descriptions#191
ondrejmirtes merged 1 commit into2.0.xfrom
readme-add-missing-features

Conversation

@phpstan-bot
Copy link

Summary

  • Added 7 features from src/ that were missing from the README:
    • Array access component type resolution ($component['name']) via createComponent* methods
    • Forms\Container::getUntrustedValues return type based on mapping class parameter
    • Forms\Controls\BaseControl fluent methods return static instead of BaseControl
    • Presenter::getSession returns Session or SessionSection based on arguments
    • Presenter @inject properties treated as initialized
    • Strings::replace() callback closure parameter type inferred from regex pattern
    • RegularExpressionPatternRule for validating regex patterns in Nette\Utils\Strings methods

Test plan

  • Verify all listed features match the actual behavior in src/
  • Confirm no existing features were removed or altered

🤖 Generated with Claude Code

Add undocumented features found by inspecting src/:
- Array access component type resolution via createComponent*
- Forms\Container::getUntrustedValues return type
- BaseControl fluent method static return type
- Presenter::getSession return type based on arguments
- Presenter @Inject properties treated as initialized
- Strings::replace() callback closure type from regex pattern
- RegularExpressionPatternRule for Nette\Utils\Strings methods

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ondrejmirtes ondrejmirtes merged commit 20988f8 into 2.0.x Feb 19, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments