@@ -20,8 +20,7 @@ |
||
| 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 | |
@@ -159,7 +159,7 @@ discard block |
||
| 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 |
||
| 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 | /** |