diff --git a/user_guide_src/source/tutorial/create_news_items/001.php b/user_guide_src/source/tutorial/create_news_items/001.php index 3fc800af1a22..02e2861e9ac2 100644 --- a/user_guide_src/source/tutorial/create_news_items/001.php +++ b/user_guide_src/source/tutorial/create_news_items/001.php @@ -8,7 +8,7 @@ class Filters extends BaseConfig { // ... - public $methods = [ + public array $methods = [ 'POST' => ['csrf'], ];