Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14044620
D11469.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
547 B
Referenced Files
None
Subscribers
None
D11469.id.diff
View Options
diff --git a/src/applications/diviner/atomizer/DivinerPHPAtomizer.php b/src/applications/diviner/atomizer/DivinerPHPAtomizer.php
--- a/src/applications/diviner/atomizer/DivinerPHPAtomizer.php
+++ b/src/applications/diviner/atomizer/DivinerPHPAtomizer.php
@@ -293,7 +293,7 @@
'this implicitly.');
}
} else if ($return) {
- $split = preg_split('/\s+/', trim($return), $limit = 2);
+ $split = preg_split('/(?<!,)\s+/', trim($return), $limit = 2);
if (!empty($split[0])) {
$type = $split[0];
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 13, 6:48 PM (5 d, 1 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6716674
Default Alt Text
D11469.id.diff (547 B)
Attached To
Mode
D11469: Improve atomizing of PHP `@return` annotation
Attached
Detach File
Event Timeline
Log In to Comment