Mago 1.40.1
A small patch release fixing array_key_exists() narrowing under strict-array-index-existence and a PHPDoc parsing regression where a @return description beginning with is was mistaken for a conditional type.
🐛 Bug Fixes
Analyzer
array_key_exists(): narrows a non-literal key likeisset()understrict-array-index-existence. (#2012, 246b1eb)
PHPDoc Syntax
- Conditional types:
isonly starts a conditional type when a target?follows, so prose like@return bool is true when …stays a description. (8d615a8)
🙏 Thank You
Contributors
A huge thank you to everyone who contributed code to this release:
Issue Reporters
Thank you to everyone who reported issues that shaped this release:
Full Changelog: 1.40.0...1.40.1