Completed
Push — add/pinterest-unit-tests-and-f... ( 8fe416...e30401 )
by
unknown
19:44 queued 09:31
created
projects/plugins/beta/class-jetpack-beta-admin.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -729,6 +729,7 @@
 block discarded – undo
729 729
 	 *
730 730
 	 * @param string $branch - Branch that's ready for update.
731 731
 	 * @param string $section - What kind of branch we're updated (master, rc, pr).
732
+	 * @return string
732 733
 	 */
733 734
 	public static function update_action_url( $branch, $section ) {
734 735
 		$query = array(
Please login to merge, or discard this patch.
projects/plugins/jetpack/_inc/lib/functions.wp-notify.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@
 block discarded – undo
229 229
  *
230 230
  * @param string $notify_moderator The value of the moderation_notify option OR if the comment is awaiting moderation.
231 231
  * @param int    $comment_id Comment ID.
232
- * @return boolean Returns false to shortcircuit the execution of wp_notify_moderator
232
+ * @return string|false Returns false to shortcircuit the execution of wp_notify_moderator
233 233
  */
234 234
 function jetpack_notify_moderator( $notify_moderator, $comment_id ) {
235 235
 	/*
Please login to merge, or discard this patch.
projects/packages/autoloader/src/CustomAutoloaderPlugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
 	/**
169 169
 	 * Checks to see whether or not the root package is the one that required the autoloader.
170 170
 	 *
171
-	 * @return bool
171
+	 * @return null|boolean
172 172
 	 */
173 173
 	private function isRequiredByRoot() {
174 174
 		$package  = $this->composer->getPackage();
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/memberships/class-jetpack-memberships.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 	 * @param array $post_types - other post types.
194 194
 	 *
195 195
 	 * @see hook 'rest_api_allowed_post_types'
196
-	 * @return array
196
+	 * @return string[]
197 197
 	 */
198 198
 	public function allow_rest_api_types( $post_types ) {
199 199
 		$post_types[] = self::$post_type_plan;
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
 	 * (because it requires a plan upgrade or Stripe connection), and the
255 255
 	 * button is a child of a Premium Content block.
256 256
 	 *
257
-	 * @param WP_Block $block Recurring Payments block instance.
257
+	 * @param WP_Block|null $block Recurring Payments block instance.
258 258
 	 *
259 259
 	 * @return boolean
260 260
 	 */
Please login to merge, or discard this patch.
projects/plugins/jetpack/_inc/lib/class.jetpack-keyring-service-helper.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -136,6 +136,10 @@  discard block
 block discarded – undo
136 136
 		);
137 137
 	}
138 138
 
139
+	/**
140
+	 * @param string $service_name
141
+	 * @param string $for
142
+	 */
139 143
 	static function refresh_url( $service_name, $for ) {
140 144
 		return add_query_arg(
141 145
 			array(
@@ -150,6 +154,10 @@  discard block
 block discarded – undo
150 154
 		);
151 155
 	}
152 156
 
157
+	/**
158
+	 * @param string $service_name
159
+	 * @param string $id
160
+	 */
153 161
 	static function disconnect_url( $service_name, $id ) {
154 162
 		return add_query_arg(
155 163
 			array(
Please login to merge, or discard this patch.
projects/packages/password-checker/src/class-password-checker.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -281,7 +281,7 @@
 block discarded – undo
281 281
 	 * @param string $password  the password.
282 282
 	 * @param array  $test_data the current test data.
283 283
 	 *
284
-	 * @return bool does the test pass?
284
+	 * @return integer does the test pass?
285 285
 	 */
286 286
 	protected function test_preg_match( $password, $test_data ) {
287 287
 		return preg_match( $test_data['pattern'], $password );
Please login to merge, or discard this patch.
projects/packages/changelogger/lib/ChangeEntry.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
 	/**
166 166
 	 * Set the timestamp.
167 167
 	 *
168
-	 * @param DateTime|string $timestamp Timestamp to set.
168
+	 * @param string $timestamp Timestamp to set.
169 169
 	 * @returns $this
170 170
 	 * @throws InvalidArgumentException If an argument is invalid.
171 171
 	 */
Please login to merge, or discard this patch.
projects/packages/changelogger/lib/KeepAChangelogParser.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -89,6 +89,7 @@
 block discarded – undo
89 89
 	 *
90 90
 	 * @param string   $haystack String to split.
91 91
 	 * @param string[] ...$needles Strings to split on. Earliest match in $haystack wins.
92
+	 * @param string $needles
92 93
 	 * @return string[] Two elements: The part before $needles and the part after, both trimmed.
93 94
 	 */
94 95
 	private function split( $haystack, ...$needles ) {
Please login to merge, or discard this patch.
projects/packages/connection/src/class-secrets.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -43,6 +43,7 @@
 block discarded – undo
43 43
 	 * @param String       $action       The action name.
44 44
 	 * @param Integer|bool $user_id The user identifier. Defaults to `false`.
45 45
 	 * @param Integer      $exp          Expiration time in seconds.
46
+	 * @return string|boolean
46 47
 	 */
47 48
 	public function generate( $action, $user_id = false, $exp = 600 ) {
48 49
 		if ( false === $user_id ) {
Please login to merge, or discard this patch.