Skip to content

Commit

Permalink
Merge pull request #400 from ernilambar/fix-doc-parse-theme-trait
Browse files Browse the repository at this point in the history
Correct param type in Parse Theme Name trait
  • Loading branch information
swissspidy authored Feb 15, 2024
2 parents 8071370 + c47fd69 commit 4930c7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/WP_CLI/ParseThemeNameInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ protected function is_theme_version_valid( $slug, $version ) {
/**
* Get the status for a given theme.
*
* @param string $theme Theme to get the status for.
* @param WP_Theme $theme Theme to get the status for.
*
* @return string Status of the theme.
*/
Expand All @@ -158,7 +158,7 @@ protected function get_status( $theme ) {
/**
* Check whether a given theme is the active theme.
*
* @param string $theme Theme to check.
* @param WP_Theme $theme Theme to check.
*
* @return bool Whether the provided theme is the active theme.
*/
Expand All @@ -169,7 +169,7 @@ protected function is_active_theme( $theme ) {
/**
* Check whether a given theme is the active theme parent.
*
* @param string $theme Theme to check.
* @param WP_Theme $theme Theme to check.
*
* @return bool Whether the provided theme is the active theme.
*/
Expand Down

0 comments on commit 4930c7a

Please sign in to comment.