Completed
Push — test/testing-packages-soft-wor... ( cf0a87 )
by
unknown
76:36 queued 69:22
created
packages/soft-wordpress-test/src/class-soft-wordpress.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -102,10 +102,17 @@
 block discarded – undo
102 102
 		return \apply_filters( 'jetpack_redirects_get_url', $url, $source, $args, $is_url );
103 103
 	}
104 104
 
105
+	/**
106
+	 * @param string $name
107
+	 * @param integer $value
108
+	 */
105 109
 	public static function store( $name, $value ) {
106 110
 		update_option( $name, $value );
107 111
 	}
108 112
 
113
+	/**
114
+	 * @param string $name
115
+	 */
109 116
 	public static function get( $name ) {
110 117
 		return get_option( $name );
111 118
 	}
Please login to merge, or discard this patch.
packages/soft-wordpress-test/tests/php/db.php 1 patch
Doc Comments   +2 added lines, -6 removed lines patch added patch discarded remove patch
@@ -64,10 +64,6 @@  discard block
 block discarded – undo
64 64
 	 *
65 65
 	 * @global string $wp_version The WordPress version string.
66 66
 	 *
67
-	 * @param string $dbuser     MySQL database user
68
-	 * @param string $dbpassword MySQL database password
69
-	 * @param string $dbname     MySQL database name
70
-	 * @param string $dbhost     MySQL database host
71 67
 	 */
72 68
 	public function __construct() {
73 69
 		return;
@@ -310,7 +306,7 @@  discard block
 block discarded – undo
310 306
 	 * @param string $db_cap The feature to check for. Accepts 'collation',
311 307
 	 *                       'group_concat', 'subqueries', 'set_charset',
312 308
 	 *                       'utf8mb4', or 'utf8mb4_520'.
313
-	 * @return int|false Whether the database feature is supported, false otherwise.
309
+	 * @return boolean Whether the database feature is supported, false otherwise.
314 310
 	 */
315 311
 	public function has_cap( $db_cap ) {
316 312
 		return true;
@@ -322,7 +318,7 @@  discard block
 block discarded – undo
322 318
 	 *
323 319
 	 * @since 2.7.0
324 320
 	 *
325
-	 * @return null|string Null on failure, version number on success.
321
+	 * @return integer Null on failure, version number on success.
326 322
 	 */
327 323
 	public function db_version() {
328 324
 		return 10;
Please login to merge, or discard this patch.