From 8d57d0c1260f0f6c5cf531fe723773fe5c66df4f Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 27 May 2022 11:20:04 -0400 Subject: [PATCH] Fix typo in $page->getMultiple() method phpdoc --- wire/core/Page.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wire/core/Page.php b/wire/core/Page.php index ef61bfa3..4c300792 100644 --- a/wire/core/Page.php +++ b/wire/core/Page.php @@ -1105,16 +1105,16 @@ class Page extends WireData implements \Countable, WireMatchable { * * ~~~~~ * // returns regular array i.e. [ 'foo val', 'bar val' ] - * $a = $page->get([ 'foo', 'bar' ]); + * $a = $page->getMultiple([ 'foo', 'bar' ]); * list($foo, $bar) = $a; * * // returns associative array i.e. [ 'foo' => 'foo val', 'bar' => 'bar val' ] - * $a = $page->get([ 'foo', 'bar' ], true); + * $a = $page->getMultiple([ 'foo', 'bar' ], true); * $foo = $a['foo']; * $bar = $a['bar']; * * // CSV string can also be used instead of array - * $a = $page->get('foo,bar'); + * $a = $page->getMultiple('foo,bar'); * ~~~~~ * * @param array|string $keys Array or CSV string of properties to get.