Completed
Push — fix/7003-mail-back-compat ( f61607...cbbe89 )
by
unknown
402:51 queued 355:13
created
class.jetpack-post-images.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,6 +113,7 @@  discard block
 block discarded – undo
113 113
 	/**
114 114
 	 * Get attachment images for a specified post and return them. Also make sure
115 115
 	 * their dimensions are at or above a required minimum.
116
+	 * @param integer $post_id
116 117
 	 */
117 118
 	static function from_attachment( $post_id, $width = 200, $height = 200 ) {
118 119
 		$images = array();
@@ -472,7 +473,6 @@  discard block
 block discarded – undo
472 473
 	 * resized and croped image.
473 474
 	 *
474 475
 	 * @param  string $src
475
-	 * @param  int    $dimension
476 476
 	 * @return string            Transformed image URL
477 477
 	 */
478 478
 	static function fit_image_url( $src, $width, $height ) {
Please login to merge, or discard this patch.
locales.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 	 * Make deprecated properties checkable for backwards compatibility.
31 31
 	 *
32 32
 	 * @param string $name Property to check if set.
33
-	 * @return bool Whether the property is set.
33
+	 * @return boolean|null Whether the property is set.
34 34
 	 */
35 35
 	public function __isset( $name ) {
36 36
 		if ( 'rtl' == $name ) {
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 	 * Make deprecated properties readable for backwards compatibility.
43 43
 	 *
44 44
 	 * @param string $name Property to get.
45
-	 * @return mixed Property.
45
+	 * @return boolean|null Property.
46 46
 	 */
47 47
 	public function __get( $name ) {
48 48
 		if ( 'rtl' == $name ) {
@@ -71,6 +71,9 @@  discard block
 block discarded – undo
71 71
 		return $numbers;
72 72
 	}
73 73
 
74
+	/**
75
+	 * @param integer $number
76
+	 */
74 77
 	public function index_for_number( $number ) {
75 78
 		if ( ! isset( $this->_index_for_number ) ) {
76 79
 			$gettext = new Gettext_Translations;
@@ -2093,6 +2096,9 @@  discard block
 block discarded – undo
2093 2096
 		return isset( $instance->locales[ $slug ] )? $instance->locales[ $slug ] : null;
2094 2097
 	}
2095 2098
 
2099
+	/**
2100
+	 * @param string $field_name
2101
+	 */
2096 2102
 	public static function by_field( $field_name, $field_value ) {
2097 2103
 		$instance = GP_Locales::instance();
2098 2104
 		$result   = false;
Please login to merge, or discard this patch.