Passed
Pull Request — master (#4)
by
unknown
01:56
created
src/Doc.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 
22 22
     public function setDoc(string $doc) : self
23 23
     {
24
-        if (! is_readable($doc)) {
24
+        if (!is_readable($doc)) {
25 25
             throw new DocNotFound(sprintf('could not find or read doc `%s`', $doc));
26 26
         }
27 27
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     public function setOptions(array $options) : self
34 34
     {
35
-        $mapper = function (string $content) : array {
35
+        $mapper = function(string $content) : array {
36 36
             $content = trim($content);
37 37
             if ('-' !== ($content[0] ?? '')) {
38 38
                 $content = '-'.$content;
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             return explode(' ', $content, 2);
42 42
         };
43 43
 
44
-        $reducer = function (array $carry, array $option) : array {
44
+        $reducer = function(array $carry, array $option) : array {
45 45
             return array_merge($carry, $option);
46 46
         };
47 47
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     {
55 55
         $process = new Process(array_merge([$this->binPath], $this->options, [$this->doc]));
56 56
         $process->run();
57
-        if (! $process->isSuccessful()) {
57
+        if (!$process->isSuccessful()) {
58 58
             throw new CouldNotExtractText($process);
59 59
         }
60 60
 
Please login to merge, or discard this patch.