diff --git a/wire/core/Page.php b/wire/core/Page.php index 0ff38f09..572e6a9f 100644 --- a/wire/core/Page.php +++ b/wire/core/Page.php @@ -4096,7 +4096,7 @@ class Page extends WireData implements \Countable, WireMatchable { * * ~~~~~ * // set and save a meta value - * $page->meta()->set('colors', [ 'red, 'green', 'blue' ]); + * $page->meta()->set('colors', [ 'red', 'green', 'blue' ]); * * // get a meta value * $colors = $page->meta()->get('colors'); diff --git a/wire/core/Pages.php b/wire/core/Pages.php index fdfd1205..06fb8b5f 100644 --- a/wire/core/Pages.php +++ b/wire/core/Pages.php @@ -264,7 +264,7 @@ class Pages extends Wire { * - `findOne` (bool): Apply optimizations for finding a single page (default=false). * - `findAll` (bool): Find all pages with no exclusions, same as "include=all" option (default=false). * - `findIDs` (bool|int): 1 to get array of page IDs, true to return verbose array, 2 to return verbose array with all cols in 3.0.153+. (default=false). - * - `getTotal` (bool): Whether to set returning PageArray's "total" property (default=true, except when findOne=true). + * - `getTotal` (bool): Whether to set returning PageArray's "total" property (default=true) except when findOne=true. * - `loadPages` (bool): Whether to populate the returned PageArray with found pages (default=true). * The only reason why you'd want to change this to false would be if you only needed the count details from * the PageArray: getTotal(), getStart(), getLimit, etc. This is intended as an optimization for $pages->count().