1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-10 16:54:44 +02:00

Update phpdoc @return statement for Page::index()

This commit is contained in:
Ryan Cramer
2018-12-07 10:15:32 -05:00
parent af0afe9f95
commit 3e690b8ea4
2 changed files with 2 additions and 2 deletions

View File

@@ -3170,7 +3170,7 @@ class Page extends WireData implements \Countable, WireMatchable {
* - Boolean true to include hidden and unpublished pages as part of the index numbers (same as "include=all").
* - An "include=hidden", "include=unpublished" or "include=all" selector to include them in the index numbers.
* - A string selector or selector array to filter the criteria for the returned index number.
* @return int Returns index number (zero-based), or -1 if page is hidden or unpublished and no $selector argument provided.
* @return int Returns index number (zero-based)
* @since 3.0.24
*
*/

View File

@@ -457,7 +457,7 @@ class PageTraversal {
* - Boolean true to include hidden and unpublished pages as part of the index numbers (same as "include=all").
* - An "include=hidden", "include=unpublished" or "include=all" selector to include them in the index numbers.
* - A string selector or selector array to filter the criteria for the returned index number.
* @return int Returns index number (zero-based), or -1 if page is hidden or unpublished and no $selector argument provided.
* @return int Returns index number (zero-based)
*
*/
public function index(Page $page, $selector = '') {