diff --git a/src/DocBlock/StandardTagFactory.php b/src/DocBlock/StandardTagFactory.php index 78a2590f..61cba18f 100644 --- a/src/DocBlock/StandardTagFactory.php +++ b/src/DocBlock/StandardTagFactory.php @@ -227,7 +227,7 @@ private function createTag(string $body, string $name, TypeContext $context) : T try { /** @var callable $callable */ $callable = [$handlerClassName, 'create']; - $tag = call_user_func_array($callable, $arguments); + $tag = call_user_func_array($callable, $arguments); return $tag ?? InvalidTag::create($body, $name); } catch (InvalidArgumentException $e) { return InvalidTag::create($body, $name)->withError($e);