From 7439069fe27067f8c35413d23e04e61818e0f6f1 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Tue, 21 Aug 2018 23:46:02 +0200 Subject: [PATCH] Use more honest method names --- src/Foundation/InstalledApp.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Foundation/InstalledApp.php b/src/Foundation/InstalledApp.php index aefae6f02..a8cabf9d4 100644 --- a/src/Foundation/InstalledApp.php +++ b/src/Foundation/InstalledApp.php @@ -47,9 +47,9 @@ class InstalledApp implements AppInterface public function getRequestHandler() { if ($this->inMaintenanceMode()) { - return $this->getMaintenanceMiddleware(); + return $this->getMaintenanceHandler(); } elseif ($this->needsUpdate()) { - return $this->getUpdaterMiddleware(); + return $this->getUpdaterHandler(); } $pipe = new MiddlewarePipe; @@ -69,7 +69,7 @@ class InstalledApp implements AppInterface /** * @return \Psr\Http\Server\RequestHandlerInterface */ - private function getMaintenanceMiddleware() + private function getMaintenanceHandler() { $pipe = new MiddlewarePipe; @@ -95,7 +95,7 @@ class InstalledApp implements AppInterface /** * @return \Psr\Http\Server\RequestHandlerInterface */ - public function getUpdaterMiddleware() + public function getUpdaterHandler() { $pipe = new MiddlewarePipe; $pipe->pipe(