phpDocumentor / Reflection

Reflection library to do Static Analysis for PHP Projects
MIT License
117 stars 51 forks source link

Properties declared in one statement captured default from first #302

Closed mvriel closed 1 year ago

mvriel commented 1 year ago

In a properties block where multiple properties have default values, only the first one was taken and applied to each. This change fixes that and introduces a test that verifies this behaviour and as an added benefit, tests the multiple properties in one block behaviour.

Part of the fix for https://github.com/phpDocumentor/phpDocumentor/issues/3334