Browse Source

Adjust as per review.

mscherer 7 years ago
parent
commit
5262d0d037
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/Http/Response.php

+ 3 - 3
src/Http/Response.php

@@ -1145,12 +1145,12 @@ class Response implements ResponseInterface
      * This is needed for RequestHandlerComponent and recognition of types.
      *
      * @param string $type Content type.
-     * @param string|array $definition Definition of the content type.
+     * @param string|array $mimeType Definition of the mime type.
      * @return void
      */
-    public function setType($type, $definition)
+    public function setType($type, $mimeType)
     {
-        $this->_mimeTypes[$type] = $definition;
+        $this->_mimeTypes[$type] = $mimeType;
     }
 
     /**