Skip to content

Commit

Permalink
Update Heuristics.php
Browse files Browse the repository at this point in the history
Co-authored-by: Gerrit Uitslag <[email protected]>
  • Loading branch information
splitbrain and Klap-in committed Aug 7, 2023
1 parent e4606c5 commit 9094886
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Heuristics.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@ protected function checkFunction($reference)
$this->def = $reference;
return '';
}
if (preg_match('/\(.+?\)$/', $reference)) {
[$reference, /* $arguments */] = explode('(', $reference, 2);
$this->def = $reference;
return '';
}
return $reference;
}

Expand Down

0 comments on commit 9094886

Please sign in to comment.