]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Twig/Filter/JPackFilter.php
Remove type hinting not supported in php < 7.0
[packbundle] / Twig / Filter / JPackFilter.php
index 43aeb86738456f61d053c48f1412f8d62ab2fa93..7e1d5c67ba94b6112638794cf24c407784ffbd80 100644 (file)
@@ -22,8 +22,8 @@ class JPackFilter implements FilterInterface {
 
        public function __construct(ContainerInterface $containerInterface, $fileName, $line) {
                //Load configuration
-               if ($containerInterface->hasParameter('rapsys_pack.jpackfilter')) {
-                       if ($parameters = $containerInterface->getParameter('rapsys_pack.jpackfilter')) {
+               if ($containerInterface->hasParameter('rapsys_pack_jpackfilter')) {
+                       if ($parameters = $containerInterface->getParameter('rapsys_pack_jpackfilter')) {
                                foreach($parameters as $k => $v) {
                                        if (isset($this->$k)) {
                                                $this->$k = $v;