Skip to content

Commit 749c0b8

Browse files
committed
Fix newly reported PHPStan errors
1 parent db40ec1 commit 749c0b8

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"wp-cli/wp-cli": "^2.12"
15+
"wp-cli/wp-cli": "^2.13"
1616
},
1717
"require-dev": {
1818
"wp-cli/entity-command": "^1.3 || ^2",

src/Rewrite_Command.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ public function structure( $args, $assoc_args ) {
166166

167167
/**
168168
* @var object{stdout: string, stderr: string, return_code: int} $process_run
169+
* @phpstan-ignore varTag.type
169170
*/
170171
$process_run = WP_CLI::runcommand( $cmd );
171172
if ( ! empty( $process_run->stderr ) ) {

0 commit comments

Comments
 (0)