Skip to content

Commit

Permalink
fix type check on activation
Browse files Browse the repository at this point in the history
  • Loading branch information
leon authored and leon committed May 21, 2020
1 parent 0711a9d commit 0a66feb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ public function activate_for_single_site() : void {
$this->setDefaultOptions();
}

public static function activate( bool $network_wide ) : void {
/**
* @param bool|null $network_wide
*/
public static function activate( $network_wide ) : void {
$instance = self::getInstance();

if ( $network_wide ) {
Expand Down

0 comments on commit 0a66feb

Please sign in to comment.