Skip to content

Commit 53c422b

Browse files
committed
Silence phan false-positives.
1 parent 6173623 commit 53c422b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/plugins/jetpack/sal/class.json-api-site-jetpack.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ public function is_private() {
363363

364364
// Making sure wpcomsh plugin is available.
365365
if ( function_exists( '\Private_Site\maybe_fix_private_site_option' ) && function_exists( '\Private_Site\site_is_private' ) ) {
366-
\Private_Site\maybe_fix_private_site_option();
367-
return \Private_Site\site_is_private();
366+
\Private_Site\maybe_fix_private_site_option(); // @phan-suppress-current-line UndefError
367+
return \Private_Site\site_is_private(); // @phan-suppress-current-line UndefError
368368
}
369369

370370
return (int) $this->get_atomic_cloud_site_option( 'blog_public' ) === -1;

0 commit comments

Comments
 (0)