Skip to content

Commit aff39f3

Browse files
committed
Fix newly reported PHPStan errors
1 parent dc53443 commit aff39f3

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎src/Provider_Command.php‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,8 @@ public function match_provider( $args, $assoc_args ) {
155155
$link_type = Utils\get_flag_value( $assoc_args, 'link-type' );
156156

157157
if ( ! $discover && ( null !== $response_size_limit || null !== $link_type ) ) {
158-
// @phpstan-ignore notIdentical.alwaysTrue
159158
if ( null !== $response_size_limit && null !== $link_type ) {
160159
$msg = "The 'limit-response-size' and 'link-type' options can only be used with discovery.";
161-
// @phpstan-ignore notIdentical.alwaysTrue
162160
} elseif ( null !== $response_size_limit ) {
163161
$msg = "The 'limit-response-size' option can only be used with discovery.";
164162
} else {

0 commit comments

Comments
 (0)