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-imagick.php

    r31576 r32546  
    3838     * @access public
    3939     *
     40     * @param array $args
    4041     * @return boolean
    4142     */
     
    113114     * @access protected
    114115     *
    115      * @return boolean|WP_Error True if loaded; WP_Error on failure.
     116     * @return true|WP_Error True if loaded; WP_Error on failure.
    116117     */
    117118    public function load() {
     
    157158     *
    158159     * @param int $quality Compression Quality. Range: [1,100]
    159      * @return boolean|WP_Error True if set successfully; WP_Error on failure.
     160     * @return true|WP_Error True if set successfully; WP_Error on failure.
    160161     */
    161162    public function set_quality( $quality = null ) {
     
    375376     *
    376377     * @param float $angle
    377      * @return boolean|WP_Error
     378     * @return true|WP_Error
    378379     */
    379380    public function rotate( $angle ) {
     
    406407     * @param boolean $horz Flip along Horizontal Axis
    407408     * @param boolean $vert Flip along Vertical Axis
    408      * @returns boolean|WP_Error
     409     * @returns true|WP_Error
    409410     */
    410411    public function flip( $horz, $vert ) {
     
    450451    }
    451452
     453    /**
     454     *
     455     * @param Imagick $image
     456     * @param string $filename
     457     * @param string $mime_type
     458     * @return array|WP_Error
     459     */
    452460    protected function _save( $image, $filename = null, $mime_type = null ) {
    453461        list( $filename, $extension, $mime_type ) = $this->get_output_format( $filename, $mime_type );
     
    492500     *
    493501     * @param string $mime_type
    494      * @return boolean|WP_Error
     502     * @return true|WP_Error
    495503     */
    496504    public function stream( $mime_type = null ) {
Note: See TracChangeset for help on using the changeset viewer.