| @@ -29,7 +29,7 @@ discard block | ||
| 29 | 29 | public function __construct() | 
| 30 | 30 |      { | 
| 31 | 31 | $this->method = 'GET'; | 
| 32 | - $this->headers = []; | |
| 32 | + $this->headers = [ ]; | |
| 33 | 33 | $this->body = null; | 
| 34 | 34 | } | 
| 35 | 35 | |
| @@ -79,7 +79,7 @@ discard block | ||
| 79 | 79 | */ | 
| 80 | 80 | public function addHeader($header, $value) | 
| 81 | 81 |      { | 
| 82 | - $this->headers[$header] = $value; | |
| 82 | + $this->headers[ $header ] = $value; | |
| 83 | 83 | } | 
| 84 | 84 | |
| 85 | 85 | /** | 
| @@ -52,7 +52,7 @@ | ||
| 52 | 52 |                  $fields = implode(' ', $fields); | 
| 53 | 53 | } | 
| 54 | 54 | |
| 55 | - $body[FieldsInterface::NAME] = $fields; | |
| 55 | + $body[ FieldsInterface::NAME ] = $fields; | |
| 56 | 56 | } | 
| 57 | 57 | |
| 58 | 58 | return $body; | 
| @@ -42,8 +42,8 @@ | ||
| 42 | 42 | $system->setHostname($data->hostname); | 
| 43 | 43 | $system->setDisplayName($data->displayName); | 
| 44 | 44 | $system->setRemoteIP($data->remoteIP); | 
| 45 | - $system->setActive((bool)$data->active); | |
| 46 | - $system->setNetworkInterfaces((array)$data->networkInterfaces); | |
| 45 | + $system->setActive((bool) $data->active); | |
| 46 | + $system->setNetworkInterfaces((array) $data->networkInterfaces); | |
| 47 | 47 | |
| 48 | 48 | return $system; | 
| 49 | 49 | } | 
| @@ -1,4 +1,4 @@ | ||
| 1 | -<?php declare(strict_types=1); | |
| 1 | +<?php declare(strict_types = 1); | |
| 2 | 2 | |
| 3 | 3 | namespace JumpCloud\Response; | 
| 4 | 4 | |
| @@ -1,4 +1,4 @@ discard block | ||
| 1 | -<?php declare(strict_types=1); | |
| 1 | +<?php declare(strict_types = 1); | |
| 2 | 2 | |
| 3 | 3 | namespace JumpCloud\Response; | 
| 4 | 4 | |
| @@ -13,7 +13,7 @@ discard block | ||
| 13 | 13 | */ | 
| 14 | 14 | public function __construct($message, $code) | 
| 15 | 15 |      { | 
| 16 | - $this->body = ['message' => $message]; | |
| 16 | + $this->body = [ 'message' => $message ]; | |
| 17 | 17 | $this->code = $code; | 
| 18 | 18 | } | 
| 19 | 19 | |
| @@ -1,4 +1,4 @@ | ||
| 1 | -<?php declare(strict_types=1); | |
| 1 | +<?php declare(strict_types = 1); | |
| 2 | 2 | |
| 3 | 3 | namespace JumpCloud\Response; | 
| 4 | 4 | |
| @@ -1,4 +1,4 @@ | ||
| 1 | -<?php declare(strict_types=1); | |
| 1 | +<?php declare(strict_types = 1); | |
| 2 | 2 | |
| 3 | 3 | namespace JumpCloud\Response; | 
| 4 | 4 | |
| @@ -1,4 +1,4 @@ discard block | ||
| 1 | -<?php declare(strict_types=1); | |
| 1 | +<?php declare(strict_types = 1); | |
| 2 | 2 | |
| 3 | 3 | namespace JumpCloud\Response\Factory; | 
| 4 | 4 | |
| @@ -24,7 +24,7 @@ discard block | ||
| 24 | 24 | $collection = new ArrayCollection(); | 
| 25 | 25 | |
| 26 | 26 |          if ($response->getStatusCode() === 200) { | 
| 27 | - $data = (string)$response->getBody(); | |
| 27 | + $data = (string) $response->getBody(); | |
| 28 | 28 | |
| 29 | 29 |              try { | 
| 30 | 30 | $data = $jsonDecoder->decode($data); | 
| @@ -1,4 +1,4 @@ | ||
| 1 | -<?php declare(strict_types=1); | |
| 1 | +<?php declare(strict_types = 1); | |
| 2 | 2 | |
| 3 | 3 | namespace JumpCloud\Response\Factory; | 
| 4 | 4 | |