From 2207047732d49a482440f969a3715ad009d6f0bc Mon Sep 17 00:00:00 2001 From: ABRAHAM Morgan Date: Sat, 17 Nov 2018 20:03:09 +0100 Subject: [PATCH] Typo fix iterator_to_array is not a method, it's a function. --- components/finder.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/finder.rst b/components/finder.rst index 7180ffcb866..b5fa1a81abb 100644 --- a/components/finder.rst +++ b/components/finder.rst @@ -53,7 +53,7 @@ the Finder instance. 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_to_array` function, or get the number of items with :phpfunction:`iterator_count`. .. caution::