diff --git a/src/Authenticator/LoginHandler.php b/src/Authenticator/LoginHandler.php index 2e3aa88..134e0d2 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 c603ed5..ed5be1b 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 )); }