Completed
Pull Request — master (#44)
by Marcel
01:54
created
src/Worker.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      *
44 44
      * @param mixed $header
45 45
      *
46
-     * @return \Error|null|string
46
+     * @return string
47 47
      * @throws GoridgeException
48 48
      */
49 49
     public function receive(&$header)
Please login to merge, or discard this patch.
src/PSR7Client.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
         ]));
108 108
     }
109 109
 
110
-   /**
110
+    /**
111 111
      * Returns altered copy of _SERVER variable. Sets ip-address,
112 112
      * request-time and other values.
113 113
      *
Please login to merge, or discard this patch.
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -173,8 +173,7 @@
 block discarded – undo
173 173
             }
174 174
 
175 175
             $stream = UPLOAD_ERR_OK === $f['error'] ?
176
-                $this->streamFactory->createStreamFromFile($f['tmpName']) :
177
-                $this->streamFactory->createStream();
176
+                $this->streamFactory->createStreamFromFile($f['tmpName']) : $this->streamFactory->createStream();
178 177
 
179 178
             $result[$index] = $this->uploadsFactory->createUploadedFile(
180 179
                 $stream,
Please login to merge, or discard this patch.