Completed
Pull Request — master (#45)
by Barney
02:23
created
src/StatusLine.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
  */
17 17
 namespace Teapot;
18 18
 
19
-use Teapot\StatusCodeException\InvalidStatusCodeException;
20 19
 use Psr\Http\Message\ResponseInterface;
20
+use Teapot\StatusCodeException\InvalidStatusCodeException;
21 21
 
22 22
 /**
23 23
  * Interface representing a Value Object of the HTTP Status-Line, as
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,8 +85,8 @@  discard block
 block discarded – undo
85 85
     /**
86 86
      * Add the status code and reason phrase to a Response.
87 87
      *
88
-     * @param Psr\Http\Message\ResponseInterface $response The response
89
-     * @return Psr\Http\Message\ResponseInterface
88
+     * @param ResponseInterface $response The response
89
+     * @return ResponseInterface
90 90
      */
91 91
     public function response(ResponseInterface $response)
92 92
     {
@@ -162,6 +162,7 @@  discard block
 block discarded – undo
162 162
      * Set the code. Used in constructor to ensure the code meets the
163 163
      * requirements for a status code.
164 164
      *
165
+     * @param integer $code
165 166
      */
166 167
     private function setCode($code)
167 168
     {
Please login to merge, or discard this patch.