Skip to content

Commit afa6848

Browse files
committed
Lint fix
1 parent 46109b8 commit afa6848

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/WP_CLI/CommandWithUpgrade.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,6 +1294,10 @@ protected function get_raw_url_from_gist( $gist_id ) {
12941294
);
12951295
}
12961296

1297+
/**
1298+
* @var null|object{files: array<string, object{raw_url: string}>} $decoded_body
1299+
*/
1300+
12971301
if ( null === $decoded_body || ! is_object( $decoded_body ) || ! isset( $decoded_body->files ) ) {
12981302
return new \WP_Error(
12991303
'invalid_gist_api_response',

0 commit comments

Comments
 (0)