Skip to content

Commit

Permalink
Make function arguments fully optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
bovender committed Nov 28, 2023
1 parent 0146536 commit 3f5ed26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/PubmedParser_Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Core
* name MUST be prefixed with '#' (configurable in MediaWiki system
* messages).
*/
function __construct( $pmid = 0, $param ) {
function __construct( $pmid = 0, $param = NULL ) {
$this->status = PUBMEDPARSER_INVALIDPMID;
$this->template = Extension::$templateName;
$this->pmid = $pmid;
Expand Down

0 comments on commit 3f5ed26

Please sign in to comment.