Skip to content

Commit a2c5034

Browse files
committed
PHPCS: fix up the code base [3] - strict comparisons (second try)
Fixes relate to the following rules: * Use strict comparisons. This fix was previously merged already via 209, but this got undone by the master-merge-back in 207.
1 parent f8153d1 commit a2c5034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Scaffold_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ public function _s( $args, $assoc_args ) {
430430
}
431431

432432
$response_code = wp_remote_retrieve_response_code( $response );
433-
if ( 200 != $response_code ) {
433+
if ( 200 !== (int) $response_code ) {
434434
WP_CLI::error( "Couldn't create theme (received {$response_code} response)." );
435435
}
436436

0 commit comments

Comments
 (0)