Espinoza Guillermo 6 年之前
父節點
當前提交
4bcfb74be5
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Event/EventSubscriber.php
  2. 1 1
      Repository/ActionRepository.php

+ 1 - 1
Event/EventSubscriber.php

@@ -132,7 +132,7 @@ class EventSubscriber implements EventSubscriberInterface
             }
         }
         $actions = $new_actions;
-        $logger->info("EVENT Found ". count($actions) . " actions to apply", $criteria);
+        $logger->info("EVENT Found ". count($actions) . " actions to apply", compact('workflowName', 'eventReference'));
 
         return $actions;
     }

+ 1 - 1
Repository/ActionRepository.php

@@ -57,7 +57,7 @@ class ActionRepository extends EntityRepository
      *
      * @return array
      */
-    public function findByWorkflowAndEventRef($workflowName, $event)
+    public function findByWorkflowAndEventRef($workflowName, $eventReference)
     {
         $actions = $this->createQueryBuilder('Action')
                    ->andWhere('Action.eventReference = :eventReference')