Skip to content

Mago 1.40.1

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Jun 12:02
1.40.1
6149480

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 like isset() under strict-array-index-existence. (#2012, 246b1eb)

PHPDoc Syntax

  • Conditional types: is only 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