@@ -18,8 +18,6 @@ class ResponseBuilder
1818
1919 /**
2020 * Create builder for the given response.
21- *
22- * @param ResponseInterface $response
2321 */
2422 public function __construct (ResponseInterface $ response )
2523 {
@@ -39,12 +37,12 @@ public function getResponse()
3937 /**
4038 * Add headers represented by an array of header lines.
4139 *
42- * @param string[] $headers Response headers as array of header lines.
40+ * @param string[] $headers response headers as array of header lines
4341 *
4442 * @return $this
4543 *
46- * @throws \UnexpectedValueException For invalid header values.
47- * @throws \InvalidArgumentException For invalid status code arguments.
44+ * @throws \UnexpectedValueException for invalid header values
45+ * @throws \InvalidArgumentException for invalid status code arguments
4846 */
4947 public function setHeadersFromArray (array $ headers )
5048 {
@@ -66,12 +64,12 @@ public function setHeadersFromArray(array $headers)
6664 /**
6765 * Add headers represented by a single string.
6866 *
69- * @param string $headers Response headers as single string.
67+ * @param string $headers response headers as single string
7068 *
7169 * @return $this
7270 *
7371 * @throws \InvalidArgumentException if $headers is not a string on object with __toString()
74- * @throws \UnexpectedValueException For invalid header values.
72+ * @throws \UnexpectedValueException for invalid header values
7573 */
7674 public function setHeadersFromString ($ headers )
7775 {
@@ -95,11 +93,11 @@ public function setHeadersFromString($headers)
9593 /**
9694 * Set response status from a status string.
9795 *
98- * @param string $statusLine Response status as a string.
96+ * @param string $statusLine response status as a string
9997 *
10098 * @return $this
10199 *
102- * @throws \InvalidArgumentException For invalid status line.
100+ * @throws \InvalidArgumentException for invalid status line
103101 */
104102 public function setStatus ($ statusLine )
105103 {
@@ -121,11 +119,11 @@ public function setStatus($statusLine)
121119 /**
122120 * Add header represented by a string.
123121 *
124- * @param string $headerLine Response header as a string.
122+ * @param string $headerLine response header as a string
125123 *
126124 * @return $this
127125 *
128- * @throws \InvalidArgumentException For invalid header names or values.
126+ * @throws \InvalidArgumentException for invalid header names or values
129127 */
130128 public function addHeader ($ headerLine )
131129 {
0 commit comments