@@ -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 | } |
@@ -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 | /** |
@@ -527,11 +527,11 @@ discard block |
||
527 | 527 | } |
528 | 528 | |
529 | 529 | if (!empty($context['version'])) { |
530 | - $this->methodBody->add('$context->setVersion(%d);', (int)$context['version']); |
|
530 | + $this->methodBody->add('$context->setVersion(%d);', (int) $context['version']); |
|
531 | 531 | } |
532 | 532 | |
533 | 533 | if (!empty($context['serializeNull'])) { |
534 | - $this->methodBody->add('$context->setSerializeNull(%d);', (int)$context['serializeNull']); |
|
534 | + $this->methodBody->add('$context->setSerializeNull(%d);', (int) $context['serializeNull']); |
|
535 | 535 | } |
536 | 536 | |
537 | 537 | if (!empty($context['enableMaxDepthChecks'])) { |
@@ -554,7 +554,7 @@ discard block |
||
554 | 554 | return; |
555 | 555 | } |
556 | 556 | |
557 | - $contextDepth = (int)$this->deserializationContext['depth']; |
|
557 | + $contextDepth = (int) $this->deserializationContext['depth']; |
|
558 | 558 | $this->methodBody->add('while ($context->getDepth() > %d) { $context->decreaseDepth(); }', $contextDepth); |
559 | 559 | $this->methodBody->add('while ($context->getDepth() < %d) { $context->increaseDepth(); }', $contextDepth); |
560 | 560 | } |
@@ -54,6 +54,6 @@ |
||
54 | 54 | return '[]'; |
55 | 55 | } |
56 | 56 | |
57 | - return (string)$variable; |
|
57 | + return (string) $variable; |
|
58 | 58 | } |
59 | 59 | } |