Completed
Push — master ( 65c91b...7e9231 )
by Guillaume
15:59
created
src/Starkerxp/CampagneBundle/Controller/TemplateController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
             $options = $this->resolveParams()->resolve($request->query->all());
20 20
 
21 21
             $orderBy = !empty($options['sort']) ? array_map(
22
-                function ($r) {
22
+                function($r) {
23 23
                     return [substr($r, 1) => substr($r, 0, 1) == '+' ? 'ASC' : 'DESC'];
24 24
                 },
25 25
                 explode(',', $options['sort'])
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     {
54 54
         $manager = $this->get("starkerxp_campagne.manager.template");
55 55
 
56
-        return new JsonResponse(["payload" => []]);//400
56
+        return new JsonResponse(["payload" => []]); //400
57 57
     }
58 58
 
59 59
     public function postAction(Request $request)
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         $manager = $this->get("starkerxp_campagne.manager.template");
62 62
         $options = $manager->getPostOptionResolver()->resolve($request->request->all());
63 63
 
64
-        return new JsonResponse(["payload" => ""], 201);//400
64
+        return new JsonResponse(["payload" => ""], 201); //400
65 65
     }
66 66
 
67 67
     public function putAction(Request $request)
Please login to merge, or discard this patch.
src/Starkerxp/RabbitmqBundle/Command/ReceiverLockCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
                 true,
57 57
                 true,
58 58
                 [
59
-                    'x-message-ttl'          => ['I', $this->getDelaiTemporisation() * 1000],   // delay in seconds to milliseconds
59
+                    'x-message-ttl'          => ['I', $this->getDelaiTemporisation() * 1000], // delay in seconds to milliseconds
60 60
                     "x-expires"              => ["I", $this->getDelaiTemporisation() * 1000 + 1000],
61 61
                     'x-dead-letter-exchange' => ['S', 'exchange_'.$nomChannel] // after message expiration in delay queue, move message to the right.now.queue
62 62
                 ]
Please login to merge, or discard this patch.