@@ -87,7 +87,7 @@ public static function supports_mime_type( $mime_type ) {
8787 * @since 3.5.0
8888 * @access protected
8989 *
90- * @return boolean |WP_Error True if loaded successfully; WP_Error on failure.
90+ * @return bool |WP_Error True if loaded successfully; WP_Error on failure.
9191 */
9292 public function load () {
9393 if ( $ this ->image )
@@ -160,7 +160,7 @@ protected function update_size( $width = false, $height = false ) {
160160 *
161161 * @param int|null $max_w Image width.
162162 * @param int|null $max_h Image height.
163- * @param boolean $crop
163+ * @param bool $crop
164164 * @return true|WP_Error
165165 */
166166 public function resize ( $ max_w , $ max_h , $ crop = false ) {
@@ -272,14 +272,14 @@ public function multi_resize( $sizes ) {
272272 * @since 3.5.0
273273 * @access public
274274 *
275- * @param int $src_x The start x position to crop from.
276- * @param int $src_y The start y position to crop from.
277- * @param int $src_w The width to crop.
278- * @param int $src_h The height to crop.
279- * @param int $dst_w Optional. The destination width.
280- * @param int $dst_h Optional. The destination height.
281- * @param boolean $src_abs Optional. If the source crop points are absolute.
282- * @return boolean |WP_Error
275+ * @param int $src_x The start x position to crop from.
276+ * @param int $src_y The start y position to crop from.
277+ * @param int $src_w The width to crop.
278+ * @param int $src_h The height to crop.
279+ * @param int $dst_w Optional. The destination width.
280+ * @param int $dst_h Optional. The destination height.
281+ * @param bool $src_abs Optional. If the source crop points are absolute.
282+ * @return bool |WP_Error
283283 */
284284 public function crop ( $ src_x , $ src_y , $ src_w , $ src_h , $ dst_w = null , $ dst_h = null , $ src_abs = false ) {
285285 // If destination width/height isn't specified, use same as
@@ -344,8 +344,8 @@ public function rotate( $angle ) {
344344 * @since 3.5.0
345345 * @access public
346346 *
347- * @param boolean $horz Flip along Horizontal Axis
348- * @param boolean $vert Flip along Vertical Axis
347+ * @param bool $horz Flip along Horizontal Axis
348+ * @param bool $vert Flip along Vertical Axis
349349 * @returns true|WP_Error
350350 */
351351 public function flip ( $ horz , $ vert ) {
@@ -476,7 +476,7 @@ public function stream( $mime_type = null ) {
476476 * @param string|stream $filename
477477 * @param callable $function
478478 * @param array $arguments
479- * @return boolean
479+ * @return bool
480480 */
481481 protected function make_image ( $ filename , $ function , $ arguments ) {
482482 if ( wp_is_stream ( $ filename ) )
0 commit comments