Completed
Pull Request — master (#25)
by Patrick
16:36
created
php-src/PSR7Client.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-     * @return ServerRequestInterface|null
41
+     * @return null|Diactoros\ServerRequest
42 42
      */
43 43
     public function acceptRequest()
44 44
     {
Please login to merge, or discard this patch.
php-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.
php-src/tests/client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 use Spiral\Goridge;
4 4
 
5 5
 ini_set('display_errors', 'stderr');
6
-require dirname(__DIR__) . "/../vendor/autoload.php";
6
+require dirname(__DIR__)."/../vendor/autoload.php";
7 7
 
8 8
 if (count($argv) < 3) {
9 9
     die("need 2 arguments");
Please login to merge, or discard this patch.
php-src/tests/http/client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 use Spiral\RoadRunner;
5 5
 
6 6
 ini_set('display_errors', 'stderr');
7
-require dirname(__DIR__) . "/../../vendor/autoload.php";
7
+require dirname(__DIR__)."/../../vendor/autoload.php";
8 8
 
9 9
 if (count($argv) < 3) {
10 10
     die("need 2 arguments");
Please login to merge, or discard this patch.
php-src/tests/http/cookie.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -249,17 +249,17 @@
 block discarded – undo
249 249
     public function createHeader(): string
250 250
     {
251 251
         $header = [
252
-            rawurlencode($this->name) . '=' . rawurlencode($this->value)
252
+            rawurlencode($this->name).'='.rawurlencode($this->value)
253 253
         ];
254 254
         if ($this->lifetime !== null) {
255
-            $header[] = 'Expires=' . gmdate(\DateTime::COOKIE, $this->getExpires());
256
-            $header[] = 'Max-Age=' . $this->lifetime;
255
+            $header[] = 'Expires='.gmdate(\DateTime::COOKIE, $this->getExpires());
256
+            $header[] = 'Max-Age='.$this->lifetime;
257 257
         }
258 258
         if (!empty($this->path)) {
259
-            $header[] = 'Path=' . $this->path;
259
+            $header[] = 'Path='.$this->path;
260 260
         }
261 261
         if (!empty($this->domain)) {
262
-            $header[] = 'Domain=' . $this->domain;
262
+            $header[] = 'Domain='.$this->domain;
263 263
         }
264 264
         if ($this->secure) {
265 265
             $header[] = 'Secure';
Please login to merge, or discard this patch.
php-src/tests/http/upload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): ResponseInterface
7 7
 {
8 8
     $files = $req->getUploadedFiles();
9
-    array_walk_recursive($files, function (&$v) {
9
+    array_walk_recursive($files, function(&$v) {
10 10
         /**
11 11
          * @var \Psr\Http\Message\UploadedFileInterface $v
12 12
          */
Please login to merge, or discard this patch.
php-src/tests/slow-client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 use Spiral\Goridge;
4 4
 
5 5
 ini_set('display_errors', 'stderr');
6
-require dirname(__DIR__) . "/../vendor/autoload.php";
6
+require dirname(__DIR__)."/../vendor/autoload.php";
7 7
 
8 8
 if (count($argv) < 3) {
9 9
     die("need 2 arguments");
Please login to merge, or discard this patch.