schmittjoh / JMSTranslationBundle

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

Use array access to twig argument nodes #531

Closed franmomu closed 4 years ago

franmomu commented 4 years ago
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License Apache2

Description

I was trying to apply CS, but when using strict_types, it fails when accessing a Node::getNode and Node::hasNode with an integer value. So instead of that, now it converts the node in array (seen in SearchAndRenderBlockNode).

goetas commented 4 years ago

:+1: