Docs: Standardise the type name for booleans and integers.

This brings these docs inline with the documentation standards.

Props ravipatel, justinahinon

Fixes #51426

Built from https://develop.svn.wordpress.org/trunk@49120


git-svn-id: http://core.svn.wordpress.org/trunk@48882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn
2020-10-10 20:02:05 +00:00
parent 6b7ba33d68
commit 905460bd5e
26 changed files with 50 additions and 50 deletions

View File

@@ -490,7 +490,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
*
* @link https://www.php.net/manual/en/iterator.valid.php
*
* @return boolean
* @return bool Whether the current position is valid.
*/
public function valid() {
return key( $this->callbacks ) !== null;