diff --git a/app/config/errors.php b/app/config/errors.php index 6ebc311798..9c1da2c540 100644 --- a/app/config/errors.php +++ b/app/config/errors.php @@ -81,7 +81,7 @@ return [ Exception::GENERAL_METHOD_UNSUPPORTED => [ 'name' => Exception::GENERAL_METHOD_UNSUPPORTED, 'description' => 'The HTTP method is unsupported by the current protocol or resource.', - 'code' => 500, + 'code' => 405, ], /** User Errors */