foreach (['final', 'deprecated', 'internal'
] as $annotation) { if (null !==
$description =
$doc[$annotation][0
] ?? null
) { self::$
{$annotation}[$class] = '' !==
$description ? ' '.
$description.
(preg_match('/[.!]$/',
$description) ? '' : '.'
) : '.';
} } if ($refl->
isInterface() &&
isset($doc['method'
])) { foreach ($doc['method'
] as $name =>
[$static,
$returnType,
$signature,
$description]) { self::
$method[$class][] =
[$class,
$static,
$returnType,
$name.
$signature,
$description];
if ('' !==
$returnType) { $this->
setReturnType($returnType,
$refl->name,
$name,
$refl->
getFileName(),
$parent);
} } } } $parentAndOwnInterfaces =
$this->
getOwnInterfaces($class,
$parent);
if ($parent) { $parentAndOwnInterfaces[$parent] =
$parent;
if (!
isset(self::
$checkedClasses[$parent])) { $this->
checkClass($parent);
}