Passed
Push — master ( d23948...c73ccc )
by Thierry
02:16
created
src/Response/Plugin/DataBag.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function __construct()
20 20
     {
21
-        $aData = isset($_POST['jxnbags']) ? $this->readData($_POST) :
22
-            (isset($_GET['jxnbags']) ? $this->readData($_GET) : []);
21
+        $aData = isset($_POST['jxnbags']) ? $this->readData($_POST) : (isset($_GET['jxnbags']) ? $this->readData($_GET) : []);
23 22
         $this->xBag = new DataBag\Bag($aData);
24 23
     }
25 24
 
Please login to merge, or discard this patch.