Skip to content

Commit

Permalink
Merge pull request #2609 from rbairwell/patch-1
Browse files Browse the repository at this point in the history
Fix incorrect return type hints on NotFound handler
  • Loading branch information
l0gicgate committed Mar 12, 2019
2 parents 04e7689 + 2cf98e9 commit 7b9967f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Slim/Handlers/NotFound.php
Expand Up @@ -67,7 +67,7 @@ public function __invoke(ServerRequestInterface $request, ResponseInterface $res
/**
* Render plain not found message
*
* @return ResponseInterface
* @return string
*/
protected function renderPlainNotFoundOutput()
{
Expand All @@ -77,7 +77,7 @@ protected function renderPlainNotFoundOutput()
/**
* Return a response for application/json content not found
*
* @return ResponseInterface
* @return string
*/
protected function renderJsonNotFoundOutput()
{
Expand All @@ -87,7 +87,7 @@ protected function renderJsonNotFoundOutput()
/**
* Return a response for xml content not found
*
* @return ResponseInterface
* @return string
*/
protected function renderXmlNotFoundOutput()
{
Expand All @@ -99,7 +99,7 @@ protected function renderXmlNotFoundOutput()
*
* @param ServerRequestInterface $request The most recent Request object
*
* @return ResponseInterface
* @return string
*/
protected function renderHtmlNotFoundOutput(ServerRequestInterface $request)
{
Expand Down

0 comments on commit 7b9967f

Please sign in to comment.