From 2cf98e9d760b02401ae399bb128b7de21c1c8c15 Mon Sep 17 00:00:00 2001 From: Richard Bairwell Date: Mon, 11 Mar 2019 23:04:00 +0000 Subject: [PATCH] Fix return type hints --- Slim/Handlers/NotFound.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Slim/Handlers/NotFound.php b/Slim/Handlers/NotFound.php index b3330321f..7ad2faaa1 100644 --- a/Slim/Handlers/NotFound.php +++ b/Slim/Handlers/NotFound.php @@ -67,7 +67,7 @@ public function __invoke(ServerRequestInterface $request, ResponseInterface $res /** * Render plain not found message * - * @return ResponseInterface + * @return string */ protected function renderPlainNotFoundOutput() { @@ -77,7 +77,7 @@ protected function renderPlainNotFoundOutput() /** * Return a response for application/json content not found * - * @return ResponseInterface + * @return string */ protected function renderJsonNotFoundOutput() { @@ -87,7 +87,7 @@ protected function renderJsonNotFoundOutput() /** * Return a response for xml content not found * - * @return ResponseInterface + * @return string */ protected function renderXmlNotFoundOutput() { @@ -99,7 +99,7 @@ protected function renderXmlNotFoundOutput() * * @param ServerRequestInterface $request The most recent Request object * - * @return ResponseInterface + * @return string */ protected function renderHtmlNotFoundOutput(ServerRequestInterface $request) {