For doc block types, favor bool over the few remaining booleans

See #32444.


git-svn-id: https://develop.svn.wordpress.org/trunk@32964 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-06-27 01:02:12 +00:00
parent 2a5278e2dd
commit f162be6046
20 changed files with 79 additions and 79 deletions

View File

@@ -208,7 +208,7 @@ function wp_image_editor($post_id, $msg = false) {
* @param WP_Image_Editor $image
* @param string $mime_type
* @param int $post_id
* @return boolean
* @return bool
*/
function wp_stream_image( $image, $mime_type, $post_id ) {
if ( $image instanceof WP_Image_Editor ) {
@@ -264,7 +264,7 @@ function wp_stream_image( $image, $mime_type, $post_id ) {
* @param WP_Image_Editor $image
* @param string $mime_type
* @param int $post_id
* @return boolean
* @return bool
*/
function wp_save_image_file( $filename, $image, $mime_type, $post_id ) {
if ( $image instanceof WP_Image_Editor ) {
@@ -552,7 +552,7 @@ function image_edit_apply_changes( $image, $changes ) {
* in $_REQUEST['history']
*
* @param int $post_id
* @return boolean
* @return bool
*/
function stream_preview_image( $post_id ) {
$post = get_post( $post_id );