diff --git a/pages/framework/pre-post-filters.md b/pages/framework/pre-post-filters.md index 238bedf..2de5088 100644 --- a/pages/framework/pre-post-filters.md +++ b/pages/framework/pre-post-filters.md @@ -33,8 +33,8 @@ final class Entity extends \Bitrix\Main\Engine\Controller { #[Prefilters([ new HttpMethod([ - HttpMethod::GET, - HttpMethod::POST, + HttpMethod::METHOD_GET, + HttpMethod::METHOD_POST, ]), ])] public function indexAction() @@ -577,4 +577,4 @@ class CustomFilter extends \Bitrix\Main\Engine\ActionFilter\Base } ``` -Обработчики событий вызываются в методе `Bitrix\Main\Engine\Controller::run`. \ No newline at end of file +Обработчики событий вызываются в методе `Bitrix\Main\Engine\Controller::run`.