Skip to content

Commit

Permalink
Fix phpstan issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tarecord committed Sep 28, 2023
1 parent b580174 commit 2c938c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Telemetry/Opt_In/Status.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function get() {
$option = $this->get_option();
$plugins = isset( $option['plugins'] ) ? $option['plugins'] : [];

if ( ! isset( $plugins ) || count( $plugins ) === 0 ) {
if ( count( $plugins ) === 0 ) {
$status = false;
}

Expand Down

0 comments on commit 2c938c3

Please sign in to comment.