private function typeByPropertyRead($doc, $path, $name)
{
$has_doc = preg_match('/@property(|-read|-write)\\s+(?<type>\\S+)\\s+\\$?' . $name . '\\b/i', $doc, $matches);
if ($has_doc) {
$types = explode('|', $matches['type']);
$t = $this->fixRelativeType($path, $types);
return $t;
}
return [];
}