@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | * |
| 33 | 33 | * @return ResponseInterface |
| 34 | 34 | */ |
| 35 | - abstract public function addCommand(string $sName, array|JsonSerializable $aOptions): ResponseInterface; |
|
| 35 | + abstract public function addCommand(string $sName, array | JsonSerializable $aOptions): ResponseInterface; |
|
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * Convert to string |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | { |
| 60 | 60 | $aArgs = func_get_args(); |
| 61 | 61 | array_shift($aArgs); |
| 62 | - return $this->addCommand('script.call', ['func' => $this->str($sFunc),'args' => $aArgs]); |
|
| 62 | + return $this->addCommand('script.call', ['func' => $this->str($sFunc), 'args' => $aArgs]); |
|
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | /** |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | { |
| 79 | 79 | $xResponse = jaxon()->newResponse(); |
| 80 | 80 | $fCalls($xResponse); |
| 81 | - if(($nCommandCount = $xResponse->getCommandCount()) > 0) |
|
| 81 | + if (($nCommandCount = $xResponse->getCommandCount()) > 0) |
|
| 82 | 82 | { |
| 83 | 83 | $this->addCommand('script.confirm', [ |
| 84 | 84 | 'count' => $nCommandCount, |