From 8221173494006e884fb358fc03bfe91761612d22 Mon Sep 17 00:00:00 2001 From: Jordan Lev Date: Thu, 18 May 2017 23:48:24 -0500 Subject: [PATCH] Tiny clarification to Finder component docs Change wording of how to use Finder Iterator (old wording seemed to suggest that you *can't* iterate via `foreach` loop). --- components/finder.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/finder.rst b/components/finder.rst index 232fc2f7647..c0c03b1306d 100644 --- a/components/finder.rst +++ b/components/finder.rst @@ -50,7 +50,7 @@ the Finder instance. .. tip:: - A Finder instance is a PHP :phpclass:`Iterator`. So, instead of iterating over the + A Finder instance is a PHP :phpclass:`Iterator`. So, in addition to iterating over the Finder with ``foreach``, you can also convert it to an array with the :phpfunction:`iterator_to_array` method, or get the number of items with :phpfunction:`iterator_count`.