Passed
Push — master ( 888408...eb1365 )
by Thierry
02:11
created
src/Response/Plugin/DataBag/DataBagPlugin.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     public function __construct()
22 22
     {
23
-        $aData = isset($_POST['jxnbags']) ? $this->readData($_POST) :
24
-            (isset($_GET['jxnbags']) ? $this->readData($_GET) : []);
23
+        $aData = isset($_POST['jxnbags']) ? $this->readData($_POST) : (isset($_GET['jxnbags']) ? $this->readData($_GET) : []);
25 24
         $this->xDataBag = new DataBag($aData);
26 25
     }
27 26
 
Please login to merge, or discard this patch.
src/Response/Response.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
      */
160 160
     public function bag(string $sName): DataBagContext
161 161
     {
162
-        return $this->plugin('bags')->bag($sName);;
162
+        return $this->plugin('bags')->bag($sName); ;
163 163
     }
164 164
 
165 165
     /**
@@ -266,8 +266,7 @@  discard block
 block discarded – undo
266 266
         }
267 267
 
268 268
         $this->aCommands = ($bBefore) ?
269
-            array_merge($aCommands, $this->aCommands) :
270
-            array_merge($this->aCommands, $aCommands);
269
+            array_merge($aCommands, $this->aCommands) : array_merge($this->aCommands, $aCommands);
271 270
     }
272 271
 
273 272
     /**
Please login to merge, or discard this patch.