diff --git a/Heuristics.php b/Heuristics.php index f9d4662..9e301c7 100644 --- a/Heuristics.php +++ b/Heuristics.php @@ -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; }