Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect return type hints on NotFound handler #2609

Merged
merged 1 commit into from Mar 12, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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