Go back to original API change TypeErrorMethod.php
continuous-integration/drone/push Build is passing Details

master
dorian.hodin 2 years ago
parent f6810abb1c
commit 3e41289b39

@ -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)
{

Loading…
Cancel
Save