Page MenuHomePhabricator

D17435.diff
No OneTemporary

D17435.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
Sun, Oct 20, 12:57 AM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6728270
Default Alt Text
D17435.diff (489 B)

Event Timeline