Skip to content

Commit

Permalink
Docs: Fix incorrect property doc in WP_Theme::get_allowed() tests.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
SergeyBiryukov committed Nov 12, 2023
1 parent 152a1ec commit 0079130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/tests/theme/wpThemeGetAllowedFilters.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 0079130

Please sign in to comment.