From b04f330d31a8e33d2bda5b98652e3317b4504111 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 13 Feb 2026 09:59:19 +0100 Subject: [PATCH] Fix newly reported PHPStan errors --- composer.json | 2 +- src/Scaffold_Command.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 587c2726..ca135714 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ } ], "require": { - "wp-cli/wp-cli": "^2.12" + "wp-cli/wp-cli": "^2.13" }, "require-dev": { "wp-cli/extension-command": "^1.2 || ^2", diff --git a/src/Scaffold_Command.php b/src/Scaffold_Command.php index 424c1e02..d1d6c30c 100644 --- a/src/Scaffold_Command.php +++ b/src/Scaffold_Command.php @@ -1211,7 +1211,7 @@ private static function canonicalize_path( $path ) { /** * Gets an active theme's name when true provided or the same name otherwise. * - * @param string|bool $theme Theme name or true. + * @param string|true $theme Theme name or true. * @return string */ private function get_theme_name( $theme ) {