Skip to content

Commit 338c2a3

Browse files
committed
Fix newly reported PHPStan error
1 parent 0435096 commit 338c2a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

utils/make-phar.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
$current_version = trim( (string) file_get_contents( WP_CLI_ROOT . '/VERSION' ) );
4242

4343
if ( isset( $runtime_config['version'] ) ) {
44+
/**
45+
* @var string $new_version
46+
*/
4447
$new_version = $runtime_config['version'];
4548
$new_version = Utils\increment_version( $current_version, $new_version );
4649

0 commit comments

Comments
 (0)