From 7d36257d7ad79fc0514448a644937e3aba6378ae Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 6 Sep 2020 21:14:02 +0200 Subject: [PATCH] spell fix --- Admin/Routes/Web/Api.php | 4 ++-- Admin/Routes/Web/Backend.php | 4 ++-- Controller/ApiController.php | 2 +- Controller/BackendController.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Admin/Routes/Web/Api.php b/Admin/Routes/Web/Api.php index af60632..bf7e723 100755 --- a/Admin/Routes/Web/Api.php +++ b/Admin/Routes/Web/Api.php @@ -24,9 +24,9 @@ return [ ], ], - '^.*/forgott(\?.*|$)' => [ + '^.*/forgot(\?.*|$)' => [ [ - 'dest' => '\Modules\Admin\Controller\ApiController:apiForgott', + 'dest' => '\Modules\Admin\Controller\ApiController:apiForgot', 'verb' => RouteVerb::SET, 'permission' => [ ], diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php index f33efd9..b77eff0 100755 --- a/Admin/Routes/Web/Backend.php +++ b/Admin/Routes/Web/Backend.php @@ -6,9 +6,9 @@ use phpOMS\Account\PermissionType; use phpOMS\Router\RouteVerb; return [ - '^.*/forgott.*$' => [ + '^.*/forgot.*$' => [ [ - 'dest' => '\Modules\Admin\Controller\BackendController:viewForgott', + 'dest' => '\Modules\Admin\Controller\BackendController:viewForgot', 'verb' => RouteVerb::GET, 'permission' => [ ], diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 33fbc3e..482e681 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -148,7 +148,7 @@ final class ApiController extends Controller * * @since 1.0.0 */ - public function apiForgott(RequestAbstract $request, ResponseAbstract $response, $data = null) : void + public function apiForgot(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { } diff --git a/Controller/BackendController.php b/Controller/BackendController.php index d51b082..73a34e2 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -56,7 +56,7 @@ final class BackendController extends Controller * * @since 1.0.0 */ - public function viewForgott(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface + public function viewForgot(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface { return new View(); }