Explorar o código

Refactory device listener

Guillermo Espinoza %!s(int64=7) %!d(string=hai) anos
pai
achega
904a4fd6fe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      EventListener/DeviceListener.php

+ 1 - 1
EventListener/DeviceListener.php

@@ -104,7 +104,7 @@ class DeviceListener
             '--route=' . getenv("AMQP_KEY"),
         ];
         foreach ($cmd_args as $cmd_arg) {
-            $args[] = '--args=' . $cmd_arg;
+            $args[] = "--args='{$cmd_arg}'";
         }
         $input = new ArgvInput($args);