Skip to content

Commit 4dbe72a

Browse files
committed
Use false === isset() instead of ! isset() for consistency with the rest of the sniff code
1 parent 1575735 commit 4dbe72a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPress/Sniffs/WP/OptionAutoloadSniff.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ private function check_autoload_value( array $autoload_info, $function_name ) {
347347
}
348348

349349
if ( $param_second_token
350-
&& ! isset( Collections::arrayOpenTokensBC()[ $this->tokens[ $param_first_token ]['code'] ] )
350+
&& false === isset( Collections::arrayOpenTokensBC()[ $this->tokens[ $param_first_token ]['code'] ] )
351351
) {
352352
// Bail early if the parameter has two or more non-empty tokens and the second token is
353353
// not an array opener as this means an undetermined param value or a value that is not

0 commit comments

Comments
 (0)