Make WordPress Core


Ignore:
Timestamp:
05/22/2015 06:17:16 AM (9 years ago)
Author:
wonderboymusic
Message:

Add missing doc blocks to wp-image-editor*.php.

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-image-editor-gd.php

    r31576 r32546  
    3434     * @access public
    3535     *
     36     * @param array $args
    3637     * @return boolean
    3738     */
     
    128129     * @param int $width
    129130     * @param int $height
     131     * @return true
    130132     */
    131133    protected function update_size( $width = false, $height = false ) {
     
    153155     * @param  int|null $max_h Image height.
    154156     * @param  boolean  $crop
    155      * @return boolean|WP_Error
     157     * @return true|WP_Error
    156158     */
    157159    public function resize( $max_w, $max_h, $crop = false ) {
     
    172174    }
    173175
     176    /**
     177     *
     178     * @param int $max_w
     179     * @param int $max_h
     180     * @param bool|array $crop
     181     * @return resource|WP_Error
     182     */
    174183    protected function _resize( $max_w, $max_h, $crop = false ) {
    175184        $dims = image_resize_dimensions( $this->size['width'], $this->size['height'], $max_w, $max_h, $crop );
     
    304313     *
    305314     * @param float $angle
    306      * @return boolean|WP_Error
     315     * @return true|WP_Error
    307316     */
    308317    public function rotate( $angle ) {
     
    331340     * @param boolean $horz Flip along Horizontal Axis
    332341     * @param boolean $vert Flip along Vertical Axis
    333      * @returns boolean|WP_Error
     342     * @returns true|WP_Error
    334343     */
    335344    public function flip( $horz, $vert ) {
     
    434443     *
    435444     * @param string $mime_type
     445     * @return bool
    436446     */
    437447    public function stream( $mime_type = null ) {
Note: See TracChangeset for help on using the changeset viewer.