Replace `@returns` with `@return` in PHP docblocks.
props kraftbj. fixes #32865. git-svn-id: https://develop.svn.wordpress.org/trunk@33052 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3d71278f58
commit
07ee7f1ef7
|
@ -944,7 +944,7 @@ class WP_Press_This {
|
|||
* @access public
|
||||
*
|
||||
* @param array $data The site's data.
|
||||
* @returns array Embeds selected to be available.
|
||||
* @return array Embeds selected to be available.
|
||||
*/
|
||||
public function get_embeds( $data ) {
|
||||
$selected_embeds = array();
|
||||
|
@ -977,7 +977,7 @@ class WP_Press_This {
|
|||
* @access public
|
||||
*
|
||||
* @param array $data The site's data.
|
||||
* @returns array
|
||||
* @return array
|
||||
*/
|
||||
public function get_images( $data ) {
|
||||
$selected_images = array();
|
||||
|
@ -1011,7 +1011,7 @@ class WP_Press_This {
|
|||
* @access public
|
||||
*
|
||||
* @param array $data The site's data.
|
||||
* @returns string Discovered canonical URL, or empty
|
||||
* @return string Discovered canonical URL, or empty
|
||||
*/
|
||||
public function get_canonical_link( $data ) {
|
||||
$link = '';
|
||||
|
@ -1042,7 +1042,7 @@ class WP_Press_This {
|
|||
* @access public
|
||||
*
|
||||
* @param array $data The site's data.
|
||||
* @returns string Discovered site name, or empty
|
||||
* @return string Discovered site name, or empty
|
||||
*/
|
||||
public function get_source_site_name( $data ) {
|
||||
$name = '';
|
||||
|
@ -1065,7 +1065,7 @@ class WP_Press_This {
|
|||
* @access public
|
||||
*
|
||||
* @param array $data The site's data.
|
||||
* @returns string Discovered page title, or empty
|
||||
* @return string Discovered page title, or empty
|
||||
*/
|
||||
public function get_suggested_title( $data ) {
|
||||
$title = '';
|
||||
|
@ -1094,7 +1094,7 @@ class WP_Press_This {
|
|||
* @access public
|
||||
*
|
||||
* @param array $data The site's data.
|
||||
* @returns string Discovered content, or empty
|
||||
* @return string Discovered content, or empty
|
||||
*/
|
||||
public function get_suggested_content( $data ) {
|
||||
$content = $text = '';
|
||||
|
|
|
@ -346,7 +346,7 @@ class WP_Image_Editor_GD extends WP_Image_Editor {
|
|||
*
|
||||
* @param bool $horz Flip along Horizontal Axis
|
||||
* @param bool $vert Flip along Vertical Axis
|
||||
* @returns true|WP_Error
|
||||
* @return true|WP_Error
|
||||
*/
|
||||
public function flip( $horz, $vert ) {
|
||||
$w = $this->size['width'];
|
||||
|
|
|
@ -413,7 +413,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
|
|||
*
|
||||
* @param bool $horz Flip along Horizontal Axis
|
||||
* @param bool $vert Flip along Vertical Axis
|
||||
* @returns true|WP_Error
|
||||
* @return true|WP_Error
|
||||
*/
|
||||
public function flip( $horz, $vert ) {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue