Completed
Pull Request — master (#42)
by Stéphane
04:50 queued 03:33
created
src/Promise.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         $this->loop    = $loop;
71 71
         $this->promise = $promise->then(
72 72
             /**
73
-             * @param ResponseInterface|null $response
73
+             * @param PromiseInterface $response
74 74
              */
75 75
             function (?ResponseInterface $response): ResponseInterface {
76 76
                 $this->response = $response;
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
                 return $response;
80 80
             },
81 81
             /**
82
-             * @param mixed $reason
82
+             * @param PromiseInterface $reason
83 83
              */
84 84
             function ($reason): void {
85 85
                 $this->state = self::REJECTED;
Please login to merge, or discard this patch.