From c39f2be12d926b0cd20d41ca3e95870eb9a6a070 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Mon, 14 Oct 2024 15:42:58 +1300 Subject: [PATCH] ENH Update code to reflect changes in template layer --- src/Authenticator/LoginHandler.php | 2 +- src/Service/MethodRegistry.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Authenticator/LoginHandler.php b/src/Authenticator/LoginHandler.php index 2e3aa88b..134e0d27 100644 --- a/src/Authenticator/LoginHandler.php +++ b/src/Authenticator/LoginHandler.php @@ -135,7 +135,7 @@ public function doLogin($data, MemberLoginForm $form, HTTPRequest $request) /** * Action handler for loading the MFA authentication React app - * Template variables defined here will be used by the rendering controller's template - normally Page.ss + * Template variables defined here will be used by the rendering controller's template - normally Page * * @return HTTPResponse|array */ diff --git a/src/Service/MethodRegistry.php b/src/Service/MethodRegistry.php index c603ed55..ed5be1be 100644 --- a/src/Service/MethodRegistry.php +++ b/src/Service/MethodRegistry.php @@ -70,7 +70,7 @@ public function getMethods(): array if (!$method instanceof MethodInterface) { throw new UnexpectedValueException(sprintf( 'Given method "%s" does not implement %s', - $method, + get_class($method), MethodInterface::class )); }