@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | */ |
| 65 | 65 | public function getRequestUrl() |
| 66 | 66 | { |
| 67 | - return (string)$this->request->getUri(); |
|
| 67 | + return (string) $this->request->getUri(); |
|
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /** |
@@ -82,6 +82,6 @@ discard block |
||
| 82 | 82 | */ |
| 83 | 83 | public function getBody() |
| 84 | 84 | { |
| 85 | - return (string)$this->request->getBody(); |
|
| 85 | + return (string) $this->request->getBody(); |
|
| 86 | 86 | } |
| 87 | 87 | } |
@@ -54,6 +54,6 @@ |
||
| 54 | 54 | return '[]'; |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | - return (string)$variable; |
|
| 57 | + return (string) $variable; |
|
| 58 | 58 | } |
| 59 | 59 | } |
@@ -325,7 +325,7 @@ discard block |
||
| 325 | 325 | $this->createResponse(); |
| 326 | 326 | $this->createReturns(); |
| 327 | 327 | |
| 328 | - return (string)$this->methodBody; |
|
| 328 | + return (string) $this->methodBody; |
|
| 329 | 329 | } |
| 330 | 330 | |
| 331 | 331 | /** |
@@ -518,11 +518,11 @@ discard block |
||
| 518 | 518 | } |
| 519 | 519 | |
| 520 | 520 | if (!empty($context['version'])) { |
| 521 | - $this->methodBody->add('$context->setVersion(%d);', (int)$context['version']); |
|
| 521 | + $this->methodBody->add('$context->setVersion(%d);', (int) $context['version']); |
|
| 522 | 522 | } |
| 523 | 523 | |
| 524 | 524 | if (!empty($context['serializeNull'])) { |
| 525 | - $this->methodBody->add('$context->setSerializeNull(%d);', (bool)$context['serializeNull']); |
|
| 525 | + $this->methodBody->add('$context->setSerializeNull(%d);', (bool) $context['serializeNull']); |
|
| 526 | 526 | } |
| 527 | 527 | |
| 528 | 528 | if (!empty($context['enableMaxDepthChecks'])) { |