@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | */ |
77 | 77 | public function setExtended($extended) |
78 | 78 | { |
79 | - $this->extended = (boolean)$extended; |
|
79 | + $this->extended = (boolean) $extended; |
|
80 | 80 | } |
81 | 81 | |
82 | 82 | /** |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | */ |
95 | 95 | public function setSslVerification($sslVerification) |
96 | 96 | { |
97 | - $this->sslVerification = (boolean)$sslVerification; |
|
97 | + $this->sslVerification = (boolean) $sslVerification; |
|
98 | 98 | } |
99 | 99 | |
100 | 100 | /** |
@@ -125,8 +125,8 @@ discard block |
||
125 | 125 | 'Accept' => $this->extended ? 'application/vnd.phraseanet.record-extended+json' : 'application/json' |
126 | 126 | ); |
127 | 127 | |
128 | - if(!$this->sslVerification) { |
|
129 | - $this->guzzle->setSslVerification(false,false,0); |
|
128 | + if (!$this->sslVerification) { |
|
129 | + $this->guzzle->setSslVerification(false, false, 0); |
|
130 | 130 | } |
131 | 131 | $request = $this->guzzle->createRequest($method, $path, array_merge($acceptHeader, $headers)); |
132 | 132 | $this->addRequestParameters($request, $query, $postFields, $files); |