Skip to content

Commit

Permalink
Adjust as per review.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Sep 23, 2018
1 parent 4bcd6f7 commit 5262d0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Http/Response.php
Expand Up @@ -1145,12 +1145,12 @@ public function type($contentType = null)
* 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;
}

/**
Expand Down

0 comments on commit 5262d0d

Please sign in to comment.