schmittjoh / JMSTranslationBundle

Puts the Symfony2 Translation Component on steroids
http://jmsyst.com/bundles/JMSTranslationBundle
427 stars 291 forks source link

fix: prevent type error on choices array with optional keys #585

Closed qkdreyer closed 6 months ago

qkdreyer commented 6 months ago
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License Apache2

Description

TypeError: Cannot assign null to property PhpParser\Node\ArrayItem::$value of type PhpParser\Node\Expr

qkdreyer commented 6 months ago

@goetas hey! could be get this merged too?

goetas commented 6 months ago

https://github.com/schmittjoh/JMSTranslationBundle/releases/tag/2.2.1