Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14025493
D11469.id27565.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.id27565.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
Fri, Nov 8, 6:31 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6716674
Default Alt Text
D11469.id27565.diff (547 B)
Attached To
Mode
D11469: Improve atomizing of PHP `@return` annotation
Attached
Detach File
Event Timeline
Log In to Comment