Page MenuHomePhabricator

D17435.id.diff
No OneTemporary

D17435.id.diff

diff --git a/src/parser/xhpast/api/XHPASTNode.php b/src/parser/xhpast/api/XHPASTNode.php
--- a/src/parser/xhpast/api/XHPASTNode.php
+++ b/src/parser/xhpast/api/XHPASTNode.php
@@ -269,8 +269,8 @@
$body = $namespace->getChildByIndex(1);
if ($body->getTypeName() != 'n_EMPTY') {
- if ($body->containsDescendant($this)) {
- return self::getNamespaceName($namespace);
+ if (!$body->containsDescendant($this)) {
+ continue;
}
}

File Metadata

Mime Type
text/plain
Expires
Fri, Oct 18, 6:50 PM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6728270
Default Alt Text
D17435.id.diff (489 B)

Event Timeline