We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d70cae2 commit 9ba205eCopy full SHA for 9ba205e
src/collector/project/AbstractUnitObject.php
@@ -539,7 +539,7 @@ private function getMethod($name) {
539
540
private function adjustStaticResolution(fDOMElement $ctx) {
541
$container = $ctx->queryOne('.//phpdox:docblock/phpdox:return|.//phpdox:docblock/phpdox:var');
542
- if ($container->getAttribute('resolution') !== 'static') {
+ if (!$container || $container->getAttribute('resolution') !== 'static') {
543
return;
544
}
545
$type = $container->queryOne('phpdox:type');
0 commit comments