| @@ -136,7 +136,7 @@ discard block | ||
| 136 | 136 | */ | 
| 137 | 137 | public function addParameters(array $aParameters): Call | 
| 138 | 138 |      { | 
| 139 | - foreach($aParameters as $xParameter) | |
| 139 | + foreach ($aParameters as $xParameter) | |
| 140 | 140 |          { | 
| 141 | 141 | $this->pushParameter(Parameter::make($xParameter)); | 
| 142 | 142 | } | 
| @@ -389,9 +389,9 @@ discard block | ||
| 389 | 389 | */ | 
| 390 | 390 | private function findPageNumber(): ?ParameterInterface | 
| 391 | 391 |      { | 
| 392 | - foreach($this->aParameters as $xParameter) | |
| 392 | + foreach ($this->aParameters as $xParameter) | |
| 393 | 393 |          { | 
| 394 | - if($xParameter->getType() === Parameter::PAGE_NUMBER) | |
| 394 | + if ($xParameter->getType() === Parameter::PAGE_NUMBER) | |
| 395 | 395 |              { | 
| 396 | 396 | return $xParameter; | 
| 397 | 397 | } | 
| @@ -420,7 +420,7 @@ discard block | ||
| 420 | 420 |      { | 
| 421 | 421 | /** @var Parameter */ | 
| 422 | 422 | $xParameter = $this->findPageNumber(); | 
| 423 | - if($xParameter !== null) | |
| 423 | + if ($xParameter !== null) | |
| 424 | 424 |          { | 
| 425 | 425 | $xParameter->setValue($nPageNumber); | 
| 426 | 426 | } | 
| @@ -451,21 +451,21 @@ discard block | ||
| 451 | 451 | public function jsonSerialize(): array | 
| 452 | 452 |      { | 
| 453 | 453 | $aCalls = [$this->toArray()]; | 
| 454 | - if($this->bToInt) | |
| 454 | + if ($this->bToInt) | |
| 455 | 455 |          { | 
| 456 | 456 | $aCalls[] = $this->toIntCall(); | 
| 457 | 457 | } | 
| 458 | 458 | |
| 459 | 459 | $aExpr = ['_type' => $this->getType(), 'calls' => $aCalls]; | 
| 460 | - if(($this->aConfirm)) | |
| 460 | + if (($this->aConfirm)) | |
| 461 | 461 |          { | 
| 462 | 462 | $aExpr['question'] = $this->aConfirm; | 
| 463 | 463 | } | 
| 464 | - if(($this->aCondition)) | |
| 464 | + if (($this->aCondition)) | |
| 465 | 465 |          { | 
| 466 | 466 | $aExpr['condition'] = $this->aCondition; | 
| 467 | 467 | } | 
| 468 | - if(($this->aMessage)) | |
| 468 | + if (($this->aMessage)) | |
| 469 | 469 |          { | 
| 470 | 470 | $aExpr['message'] = $this->aMessage; | 
| 471 | 471 | } |