mirror of
https://github.com/processwire/processwire.git
synced 2025-08-11 09:14:58 +02:00
Update phpdoc @return statement for Page::index()
This commit is contained in:
@@ -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").
|
* - 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.
|
* - 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.
|
* - 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
|
* @since 3.0.24
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
@@ -457,7 +457,7 @@ class PageTraversal {
|
|||||||
* - Boolean true to include hidden and unpublished pages as part of the index numbers (same as "include=all").
|
* - 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.
|
* - 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.
|
* - 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 = '') {
|
public function index(Page $page, $selector = '') {
|
||||||
|
Reference in New Issue
Block a user