Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15413704
D11081.id26597.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
938 B
Referenced Files
None
Subscribers
None
D11081.id26597.diff
View Options
diff --git a/src/future/FutureIterator.php b/src/future/FutureIterator.php
--- a/src/future/FutureIterator.php
+++ b/src/future/FutureIterator.php
@@ -45,9 +45,7 @@
/**
- * Create a new iterator over a list of futures. By convention, use the
- * convenience function @{function:Futures} instead of instantiating this
- * class directly.
+ * Create a new iterator over a list of futures.
*
* @param list List of @{class:Future}s to resolve.
* @task basics
diff --git a/src/future/functions.php b/src/future/functions.php
deleted file mode 100644
--- a/src/future/functions.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-
-/**
- * Convenience function for instantiating a new @{class:FutureIterator}.
- *
- * @param list List of @{class:Future}s.
- * @return FutureIterator New @{class:FutureIterator} over those futures.
- */
-function Futures($futures) {
- return new FutureIterator($futures);
-}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 8:43 PM (3 d, 12 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7714451
Default Alt Text
D11081.id26597.diff (938 B)
Attached To
Mode
D11081: Remove the `Futures()` method
Attached
Detach File
Event Timeline
Log In to Comment