From 3e41289b39c70f5f9feb35a4a2715b2645f7b07c Mon Sep 17 00:00:00 2001 From: "dorian.hodin" Date: Wed, 8 Mar 2023 11:04:27 +0100 Subject: [PATCH] Go back to original API change TypeErrorMethod.php --- Source/API/script/ExceptionHandle/TypeErrorMethod.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/API/script/ExceptionHandle/TypeErrorMethod.php b/Source/API/script/ExceptionHandle/TypeErrorMethod.php index d5450ec..8e62105 100644 --- a/Source/API/script/ExceptionHandle/TypeErrorMethod.php +++ b/Source/API/script/ExceptionHandle/TypeErrorMethod.php @@ -9,8 +9,8 @@ use Throwable; class TypeErrorMethod extends HttpSpecializedException { protected $code = 400; - protected string $title = "Method is not specified"; - protected $message = "Bad Parameters, The API need a 'method' args in URL. Exemple :'http://url/api/getSomething'"; + protected string $title = "Method query params is not specified"; + protected $message = "Bad Parameters, The API need a 'method' query params in URL. Exemple :'http://url?method=getSomething'"; public function __construct(ServerRequestInterface $request,?Throwable $previous = null) {