mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Clarify phpdoc for the vertical and horizontal arguments to the flip() method in WP_Image_Editor*.
Props dh-shredder fixes #23775 git-svn-id: http://core.svn.wordpress.org/trunk@23750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9890179bce
commit
87db798028
@ -279,8 +279,8 @@ class WP_Image_Editor_GD extends WP_Image_Editor {
|
||||
* @since 3.5.0
|
||||
* @access public
|
||||
*
|
||||
* @param boolean $horz Horizontal Flip
|
||||
* @param boolean $vert Vertical Flip
|
||||
* @param boolean $horz Flip along Horizontal Axis
|
||||
* @param boolean $vert Flip along Vertical Axis
|
||||
* @returns boolean|WP_Error
|
||||
*/
|
||||
public function flip( $horz, $vert ) {
|
||||
|
@ -356,8 +356,8 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
|
||||
* @since 3.5.0
|
||||
* @access public
|
||||
*
|
||||
* @param boolean $horz Horizontal Flip
|
||||
* @param boolean $vert Vertical Flip
|
||||
* @param boolean $horz Flip along Horizontal Axis
|
||||
* @param boolean $vert Flip along Vertical Axis
|
||||
* @returns boolean|WP_Error
|
||||
*/
|
||||
public function flip( $horz, $vert ) {
|
||||
|
@ -144,8 +144,8 @@ abstract class WP_Image_Editor {
|
||||
* @access public
|
||||
* @abstract
|
||||
*
|
||||
* @param boolean $horz Horizontal Flip
|
||||
* @param boolean $vert Vertical Flip
|
||||
* @param boolean $horz Flip along Horizontal Axis
|
||||
* @param boolean $vert Flip along Vertical Axis
|
||||
* @return boolean|WP_Error
|
||||
*/
|
||||
abstract public function flip( $horz, $vert );
|
||||
|
Loading…
Reference in New Issue
Block a user