Skip to content

Commit 9ba205e

Browse files
committedJan 7, 2015
Fix #190
1 parent d70cae2 commit 9ba205e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/collector/project/AbstractUnitObject.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ private function getMethod($name) {
539539

540540
private function adjustStaticResolution(fDOMElement $ctx) {
541541
$container = $ctx->queryOne('.//phpdox:docblock/phpdox:return|.//phpdox:docblock/phpdox:var');
542-
if ($container->getAttribute('resolution') !== 'static') {
542+
if (!$container || $container->getAttribute('resolution') !== 'static') {
543543
return;
544544
}
545545
$type = $container->queryOne('phpdox:type');

0 commit comments

Comments
 (0)
Please sign in to comment.