Skip to content

Commit

Permalink
Replace @returns with @return in PHP docblocks.
Browse files Browse the repository at this point in the history
props kraftbj.
fixes #32865.
Built from https://develop.svn.wordpress.org/trunk@33052


git-svn-id: http://core.svn.wordpress.org/trunk@33023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
SergeyBiryukov committed Jul 2, 2015
1 parent 0d270f6 commit 3fb3d2a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions wp-admin/includes/class-wp-press-this.php
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ public function tags_html( $post ) {
* @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();
Expand Down Expand Up @@ -977,7 +977,7 @@ public function get_embeds( $data ) {
* @access public
*
* @param array $data The site's data.
* @returns array
* @return array
*/
public function get_images( $data ) {
$selected_images = array();
Expand Down Expand Up @@ -1011,7 +1011,7 @@ public function get_images( $data ) {
* @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 = '';
Expand Down Expand Up @@ -1042,7 +1042,7 @@ public function get_canonical_link( $data ) {
* @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 = '';
Expand All @@ -1065,7 +1065,7 @@ public function get_source_site_name( $data ) {
* @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 = '';
Expand Down Expand Up @@ -1094,7 +1094,7 @@ public function get_suggested_title( $data ) {
* @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 = '';
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/class-wp-image-editor-gd.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ public function rotate( $angle ) {
*
* @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'];
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/class-wp-image-editor-imagick.php
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ public function rotate( $angle ) {
*
* @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 {
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-beta1-33051';
$wp_version = '4.3-beta1-33052';

/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
Expand Down

0 comments on commit 3fb3d2a

Please sign in to comment.