Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13972411
D17435.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
489 B
Referenced Files
None
Subscribers
None
D17435.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D17435: Minor fix presumably identified by PHPStan
Attached
Detach File
Event Timeline
Log In to Comment