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(