Skip to content

Commit

Permalink
[FIX] Fix Method Compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWeinert committed Feb 17, 2022
1 parent 99d3baa commit f4ba773
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/system/base_parsermodule.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ function __construct($aOwner = NULL) {
/**
* Initialize Plugin
*
* @param papaya_parser $parser
* @return bool|void
* @param papaya_parser|null $parser
* @return void
*/
public function initialize($parser) {
public function initialize($parser = null) {
$this->parserObj = $parser;
}

Expand Down Expand Up @@ -127,4 +127,4 @@ public function getWebLink(
return $href;
}
}
}
}

0 comments on commit f4ba773

Please sign in to comment.