Completed
Pull Request — master (#1659)
by chihiro
42:41
created
src/Eccube/Application.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -626,7 +626,7 @@  discard block
 block discarded – undo
626 626
         $app = $this;
627 627
 
628 628
         // hook point
629
-        $this->on(KernelEvents::REQUEST, function (GetResponseEvent $event) use ($app) {
629
+        $this->on(KernelEvents::REQUEST, function(GetResponseEvent $event) use ($app) {
630 630
             if (!$event->isMasterRequest()) {
631 631
                 return;
632 632
             }
@@ -634,7 +634,7 @@  discard block
 block discarded – undo
634 634
             $app['eccube.event.dispatcher']->dispatch($hookpoint, $event);
635 635
         }, self::EARLY_EVENT);
636 636
 
637
-        $this->on(KernelEvents::REQUEST, function (GetResponseEvent $event) use ($app) {
637
+        $this->on(KernelEvents::REQUEST, function(GetResponseEvent $event) use ($app) {
638 638
             if (!$event->isMasterRequest()) {
639 639
                 return;
640 640
             }
@@ -643,7 +643,7 @@  discard block
 block discarded – undo
643 643
             $app['eccube.event.dispatcher']->dispatch($hookpoint, $event);
644 644
         });
645 645
 
646
-        $this->on(KernelEvents::RESPONSE, function (FilterResponseEvent $event) use ($app) {
646
+        $this->on(KernelEvents::RESPONSE, function(FilterResponseEvent $event) use ($app) {
647 647
             if (!$event->isMasterRequest()) {
648 648
                 return;
649 649
             }
@@ -652,7 +652,7 @@  discard block
 block discarded – undo
652 652
             $app['eccube.event.dispatcher']->dispatch($hookpoint, $event);
653 653
         });
654 654
 
655
-        $this->on(KernelEvents::RESPONSE, function (FilterResponseEvent $event) use ($app) {
655
+        $this->on(KernelEvents::RESPONSE, function(FilterResponseEvent $event) use ($app) {
656 656
             if (!$event->isMasterRequest()) {
657 657
                 return;
658 658
             }
@@ -660,7 +660,7 @@  discard block
 block discarded – undo
660 660
             $app['eccube.event.dispatcher']->dispatch($hookpoint, $event);
661 661
         }, self::LATE_EVENT);
662 662
 
663
-        $this->on(KernelEvents::TERMINATE, function (PostResponseEvent $event) use ($app) {
663
+        $this->on(KernelEvents::TERMINATE, function(PostResponseEvent $event) use ($app) {
664 664
             $route = $event->getRequest()->attributes->get('_route');
665 665
             $hookpoint = "eccube.event.controller.$route.finish";
666 666
             $app['eccube.event.dispatcher']->dispatch($hookpoint, $event);
Please login to merge, or discard this patch.