Skip to content

Commit 0a66feb

Browse files
leonleon
authored andcommitted
fix type check on activation
1 parent 0711a9d commit 0a66feb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Controller.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,10 @@ public function activate_for_single_site() : void {
112112
$this->setDefaultOptions();
113113
}
114114

115-
public static function activate( bool $network_wide ) : void {
115+
/**
116+
* @param bool|null $network_wide
117+
*/
118+
public static function activate( $network_wide ) : void {
116119
$instance = self::getInstance();
117120

118121
if ( $network_wide ) {

0 commit comments

Comments
 (0)