Completed
Push — add/cli-generate-autotagger ( c76ac1...be6e24 )
by
unknown
42:16 queued 31:52
created
json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-endpoint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -250,6 +250,9 @@
 block discarded – undo
250 250
 		}
251 251
 	}
252 252
 
253
+	/**
254
+	 * @param string $capability
255
+	 */
253 256
 	protected function current_user_can( $capability, $plugin = null ) {
254 257
 		// If this endpoint accepts site based authentication and a blog token is used, skip capabilities check.
255 258
 		if ( $this->accepts_site_based_authentication() ) {
Please login to merge, or discard this patch.
projects/packages/jitm/src/class-jitm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
253 253
 	 *
254 254
 	 * The list includes an empty string, which is used when no icon should be displayed.
255 255
 	 *
256
-	 * @return array The list of supported icons.
256
+	 * @return string[] The list of supported icons.
257 257
 	 */
258 258
 	public function get_supported_icons() {
259 259
 		return array(
Please login to merge, or discard this patch.
projects/packages/sync/src/class-functions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 	/**
187 187
 	 * Return a hosting provider using a set of known constants.
188 188
 	 *
189
-	 * @return mixed A host identifier string or false.
189
+	 * @return string|false A host identifier string or false.
190 190
 	 */
191 191
 	public function get_hosting_provider_by_known_constant() {
192 192
 		$hosting_provider_constants = array(
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
 	/**
215 215
 	 * Return a hosting provider using a set of known classes.
216 216
 	 *
217
-	 * @return mixed A host identifier string or false.
217
+	 * @return string|false A host identifier string or false.
218 218
 	 */
219 219
 	public function get_hosting_provider_by_known_class() {
220 220
 		$hosting_provider = false;
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
 	/**
232 232
 	 * Return a hosting provider using a set of known functions.
233 233
 	 *
234
-	 * @return mixed A host identifier string or false.
234
+	 * @return string|false A host identifier string or false.
235 235
 	 */
236 236
 	public function get_hosting_provider_by_known_function() {
237 237
 		$hosting_provider = false;
Please login to merge, or discard this patch.
projects/packages/connection/src/class-urls.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -380,7 +380,7 @@
 block discarded – undo
380 380
 	 *
381 381
 	 * @param string   $option Option value from the site.
382 382
 	 * @param callable $url_function Function retrieving the URL to normalize.
383
-	 * @return mixed|string URL.
383
+	 * @return callable URL.
384 384
 	 */
385 385
 	public static function normalize_www_in_url( $option, $url_function ) {
386 386
 		$url        = wp_parse_url( call_user_func( $url_function ) );
Please login to merge, or discard this patch.