From 00791300b386af12d871293c56cd8a2e208f4b32 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 12 Nov 2023 09:19:20 +0000 Subject: [PATCH] Docs: Fix incorrect property doc in `WP_Theme::get_allowed()` tests. The `@array` tag does not exist. This should be `@var array`. Reference: [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#2-1-class-members PHP Documentation Standards: Class Members]. Follow-up to [36350]. Props jrf. See #59651. git-svn-id: https://develop.svn.wordpress.org/trunk@57107 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/theme/wpThemeGetAllowedFilters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/theme/wpThemeGetAllowedFilters.php b/tests/phpunit/tests/theme/wpThemeGetAllowedFilters.php index 356e7f166f331..8af704a7d2523 100644 --- a/tests/phpunit/tests/theme/wpThemeGetAllowedFilters.php +++ b/tests/phpunit/tests/theme/wpThemeGetAllowedFilters.php @@ -8,7 +8,7 @@ */ class Tests_Theme_wpThemeGetAllowedFilters extends WP_UnitTestCase { /** - * @array List of themes allowed before filters are applied. + * @var array List of themes allowed before filters are applied. */ protected $default_allowed;