@@ -34,7 +34,7 @@ |
||
34 | 34 | $this->setRRLang($lang); |
35 | 35 | $pointer = empty($contextOptions) |
36 | 36 | ? ($long ? new RemoteRequest\Sockets\PfSocket($lang) : new RemoteRequest\Sockets\FSocket($lang)) |
37 | - : (new RemoteRequest\Sockets\Stream($lang))->setContextOptions($contextOptions) ; |
|
37 | + : (new RemoteRequest\Sockets\Stream($lang))->setContextOptions($contextOptions); |
|
38 | 38 | $this->processor = new RemoteRequest\Connection\Processor($pointer, $lang); |
39 | 39 | $this->params = $this->loadParams(); |
40 | 40 | $this->query = $this->loadQuery(); |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | ]); |
121 | 121 | } |
122 | 122 | // @codeCoverageIgnoreEnd |
123 | - if ($checksum != $this->headChecksum ) { |
|
123 | + if ($checksum != $this->headChecksum) { |
|
124 | 124 | throw new RequestException($this->getRRLang()->rrFspInvalidChecksum($checksum, $this->headChecksum)); |
125 | 125 | } |
126 | 126 | } |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | |
133 | 133 | public function getChecksumPacket(): string |
134 | 134 | { |
135 | - $content = $this->header . $this->content . $this->extra ; |
|
135 | + $content = $this->header . $this->content . $this->extra; |
|
136 | 136 | $content[1] = chr(0); // null checksum |
137 | 137 | return $content; |
138 | 138 | } |
@@ -30,7 +30,7 @@ |
||
30 | 30 | |
31 | 31 | public function __construct(?Sockets\ASocket $method = null, ?Interfaces\IRRTranslations $lang = null) |
32 | 32 | { |
33 | - $this->socket = (empty($method)) ? new Sockets\FSocket($lang) : $method ; |
|
33 | + $this->socket = (empty($method)) ? new Sockets\FSocket($lang) : $method; |
|
34 | 34 | $this->processor = ($this->socket instanceof Sockets\Socket) |
35 | 35 | ? new Pointers\SocketProcessor($lang) |
36 | 36 | : new Pointers\Processor($lang) |