Skip to content

Commit bd14905

Browse files
committed
Clean up docs.
1 parent c744d41 commit bd14905

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

en/core-libraries/collections.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ data from paginated services::
265265

266266
$allPagesItems = $items->toList();
267267

268-
If you are using PHP 5.5+, you can use the ``yield`` keyword inside ``unfold()``
269-
to return as many elements for each item in the collection as you may need::
268+
You can use the ``yield`` keyword inside ``unfold()``to return as
269+
many elements for each item in the collection as you may need::
270270
271271
$oddNumbers = [1, 3, 5, 7];
272272
$collection = new Collection($oddNumbers);
@@ -1182,7 +1182,6 @@ Making Collections Rewindable
11821182
The ``buffered()`` method is also useful for converting non-rewindable iterators
11831183
into collections that can be iterated more than once::
11841184

1185-
// In PHP 5.5+
11861185
public function results()
11871186
{
11881187
...

0 commit comments

Comments
 (0)