Completed
Push — update/reorganize-beta-plugin ( 825162 )
by
unknown
34:34 queued 24:39
created
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.
projects/packages/sync/src/class-rest-endpoints.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -766,7 +766,7 @@
 block discarded – undo
766 766
 	 *
767 767
 	 * @param string $item Sync item identifier.
768 768
 	 *
769
-	 * @return string|string[]|null
769
+	 * @return null|string
770 770
 	 */
771 771
 	protected static function sanitize_item_ids( $item ) {
772 772
 		// lets not delete any options that don't start with jpsq_sync- .
Please login to merge, or discard this patch.
projects/plugins/beta/src/class-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/beta/src/class-utils.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -639,6 +639,7 @@  discard block
 block discarded – undo
639 639
 	 * Fetch latest Jetpack version.
640 640
 	 *
641 641
 	 * @param bool $is_dev_version - If JP Dev version is being queried.
642
+	 * @return string
642 643
 	 */
643 644
 	public static function get_new_jetpack_version( $is_dev_version = false ) {
644 645
 		$manifest = self::get_beta_manifest();
@@ -714,6 +715,7 @@  discard block
 block discarded – undo
714 715
 	 *
715 716
 	 * @param string $branch  - Branch.
716 717
 	 * @param string $section - Section.
718
+	 * @return string
717 719
 	 */
718 720
 	public static function get_install_url( $branch = null, $section = null ) {
719 721
 		if ( is_null( $section ) ) {
@@ -769,7 +771,7 @@  discard block
 block discarded – undo
769 771
 	/**
770 772
 	 * Get JP plugin data.
771 773
 	 *
772
-	 * @param mixed $plugin_file - JP or JP Dev plugin path.
774
+	 * @param string $plugin_file - JP or JP Dev plugin path.
773 775
 	 */
774 776
 	public static function get_jetpack_plugin_info( $plugin_file = null ) {
775 777
 
@@ -1418,7 +1420,7 @@  discard block
 block discarded – undo
1418 1420
 	/**
1419 1421
 	 * Checks if a dir is empty.
1420 1422
 	 *
1421
-	 * @param [type] $dir The absolute directory path to check.
1423
+	 * @param string $dir The absolute directory path to check.
1422 1424
 	 * @return boolean
1423 1425
 	 */
1424 1426
 	public static function is_dir_empty( $dir ) {
Please login to merge, or discard this patch.