Changeset 32546 for trunk/src/wp-includes/class-wp-image-editor-imagick.php
- Timestamp:
- 05/22/2015 06:17:16 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-image-editor-imagick.php
r31576 r32546 38 38 * @access public 39 39 * 40 * @param array $args 40 41 * @return boolean 41 42 */ … … 113 114 * @access protected 114 115 * 115 * @return boolean|WP_Error True if loaded; WP_Error on failure.116 * @return true|WP_Error True if loaded; WP_Error on failure. 116 117 */ 117 118 public function load() { … … 157 158 * 158 159 * @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. 160 161 */ 161 162 public function set_quality( $quality = null ) { … … 375 376 * 376 377 * @param float $angle 377 * @return boolean|WP_Error378 * @return true|WP_Error 378 379 */ 379 380 public function rotate( $angle ) { … … 406 407 * @param boolean $horz Flip along Horizontal Axis 407 408 * @param boolean $vert Flip along Vertical Axis 408 * @returns boolean|WP_Error409 * @returns true|WP_Error 409 410 */ 410 411 public function flip( $horz, $vert ) { … … 450 451 } 451 452 453 /** 454 * 455 * @param Imagick $image 456 * @param string $filename 457 * @param string $mime_type 458 * @return array|WP_Error 459 */ 452 460 protected function _save( $image, $filename = null, $mime_type = null ) { 453 461 list( $filename, $extension, $mime_type ) = $this->get_output_format( $filename, $mime_type ); … … 492 500 * 493 501 * @param string $mime_type 494 * @return boolean|WP_Error502 * @return true|WP_Error 495 503 */ 496 504 public function stream( $mime_type = null ) {
Note: See TracChangeset
for help on using the changeset viewer.