From df2bd841ed8668aa5c7a2c79cc51e7e925af0428 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 27 Jul 2023 19:46:25 +0300 Subject: [PATCH] cs --- application/Espo/Core/Api/ControllerActionProcessor.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/Espo/Core/Api/ControllerActionProcessor.php b/application/Espo/Core/Api/ControllerActionProcessor.php index e160333b7f..53457be29e 100644 --- a/application/Espo/Core/Api/ControllerActionProcessor.php +++ b/application/Espo/Core/Api/ControllerActionProcessor.php @@ -80,7 +80,7 @@ class ControllerActionProcessor if (!method_exists($controller, $primaryActionMethodName)) { throw new NotFoundSilent( - "Action {$requestMethod} '{$actionName}' does not exist in controller '{$controllerName}'."); + "Action $requestMethod '$actionName' does not exist in controller '$controllerName'."); } if ($this->useShortParamList($controller, $primaryActionMethodName)) { @@ -187,11 +187,11 @@ class ControllerActionProcessor $className = $this->classFinder->find('Controllers', $name); if (!$className) { - throw new NotFound("Controller '{$name}' does not exist."); + throw new NotFound("Controller '$name' does not exist."); } if (!class_exists($className)) { - throw new NotFound("Class not found for controller '{$name}'."); + throw new NotFound("Class not found for controller '$name'."); } return $className;