Completed
Pull Request — master (#3)
by thomas
17:44
created
src/Assuan/Assuan.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
                 if (substr($piece, 0, 4) === "ERR ") {
26 26
                     $c = explode(" ", $piece, 3);
27 27
                     // don't change state, it's only a single line
28
-                    throw new RemotePinEntryException($c[2], (int)$c[1]);
28
+                    throw new RemotePinEntryException($c[2], (int) $c[1]);
29 29
                 }
30 30
 
31 31
                 $prefix = substr($piece, 0, 2);
Please login to merge, or discard this patch.
src/PinEntry.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      */
40 40
     public function setOption(string $key, $value): Response
41 41
     {
42
-        $this->process->send(Command::OPTION . " {$key} {$value}\n");
42
+        $this->process->send(Command::OPTION." {$key} {$value}\n");
43 43
         $msg = $this->assuan->parseResponse($this->process);
44 44
         return $msg;
45 45
     }
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
     public function getInfo(string $type): string
58 58
     {
59
-        $this->process->send(Command::GETINFO . " {$type}\n");
59
+        $this->process->send(Command::GETINFO." {$type}\n");
60 60
         $response = $this->assuan->parseResponse($this->process);
61 61
 
62 62
         if (empty($response->getData())) {
Please login to merge, or discard this patch.