Browse Source

Fix up comment example.

mscherer 7 years ago
parent
commit
6d726045c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Http/Response.php

+ 1 - 1
src/Http/Response.php

@@ -1140,7 +1140,7 @@ class Response implements ResponseInterface
     /**
      * Sets a content type definition into the map.
      *
-     * E.g.: setType('xhtml' => ['application/xhtml+xml', 'application/xhtml'])
+     * E.g.: setTypeMap('xhtml', ['application/xhtml+xml', 'application/xhtml'])
      *
      * This is needed for RequestHandlerComponent and recognition of types.
      *