Completed
Push — reorg/fix-build ( 108db0...0a039a )
by
unknown
227:16 queued 208:25
created
src/plugins/jetpack/sal/class.json-api-site-jetpack.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -165,6 +165,9 @@  discard block
 block discarded – undo
165 165
 		return $this->get_atomic_cloud_site_option( 'launch-status' );
166 166
 	}
167 167
 
168
+	/**
169
+	 * @param string $option
170
+	 */
168 171
 	function get_atomic_cloud_site_option( $option ) {
169 172
 		if ( ! jetpack_is_atomic_site() ) {
170 173
 			return false;
@@ -233,6 +236,9 @@  discard block
 block discarded – undo
233 236
 		return false;
234 237
 	}
235 238
 
239
+	/**
240
+	 * @param string $role
241
+	 */
236 242
 	function current_user_can( $role ) {
237 243
 		return current_user_can( $role );
238 244
 	}
Please login to merge, or discard this patch.
tools/docker/mu-plugins/debug.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
  *
39 39
  * A null argument will log the file and line number of the l() call.
40 40
  *
41
- * @param mixed $stuff Information to log.
41
+ * @param string $stuff Information to log.
42 42
  */
43 43
 function l( $stuff = null ) {
44 44
 	// Do nothing when debugging is off.
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
  *
167 167
  * @param string $name Timer name.
168 168
  *
169
- * @return mixed void or elapsed time.
169
+ * @return null|double void or elapsed time.
170 170
  */
171 171
 function e( $name = '' ) {
172 172
 	static $times = array();
Please login to merge, or discard this patch.
src/packages/analyzer/src/Invocations/class-function-call.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -15,6 +15,10 @@
 block discarded – undo
15 15
 	public $line;
16 16
 	public $func_name;
17 17
 
18
+	/**
19
+	 * @param integer $line
20
+	 * @param string $func_name
21
+	 */
18 22
 	public function __construct( $path, $line, $func_name ) {
19 23
 		$this->path      = $path;
20 24
 		$this->line      = $line;
Please login to merge, or discard this patch.
src/packages/analyzer/src/Invocations/class-new.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@
 block discarded – undo
15 15
 	public $line;
16 16
 	public $class_name;
17 17
 
18
+	/**
19
+	 * @param integer $line
20
+	 */
18 21
 	public function __construct( $path, $line, $class_name ) {
19 22
 		$this->path       = $path;
20 23
 		$this->line       = $line;
Please login to merge, or discard this patch.
src/packages/analyzer/src/Invocations/class-static-call.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
 	public $class_name;
17 17
 	public $method_name;
18 18
 
19
+	/**
20
+	 * @param integer $line
21
+	 */
19 22
 	public function __construct( $path, $line, $class_name, $method_name ) {
20 23
 		$this->path        = $path;
21 24
 		$this->line        = $line;
Please login to merge, or discard this patch.
src/packages/analyzer/src/Invocations/class-static-const.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
 	public $class_name;
17 17
 	public $const_name;
18 18
 
19
+	/**
20
+	 * @param integer $line
21
+	 */
19 22
 	public function __construct( $path, $line, $class_name, $const_name ) {
20 23
 		$this->path       = $path;
21 24
 		$this->line       = $line;
Please login to merge, or discard this patch.
src/packages/analyzer/src/Invocations/class-static-property.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
 	public $class_name;
17 17
 	public $prop_name;
18 18
 
19
+	/**
20
+	 * @param integer $line
21
+	 */
19 22
 	public function __construct( $path, $line, $class_name, $prop_name ) {
20 23
 		$this->path       = $path;
21 24
 		$this->line       = $line;
Please login to merge, or discard this patch.
src/packages/connection/src/class-manager.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
 	/**
273 273
 	 * Verifies the signature of the current request.
274 274
 	 *
275
-	 * @return false|array
275
+	 * @return boolean
276 276
 	 */
277 277
 	public function verify_xml_rpc_signature() {
278 278
 		if ( is_null( $this->xmlrpc_verification ) ) {
@@ -1134,6 +1134,7 @@  discard block
 block discarded – undo
1134 1134
 	 * @param String  $action  The action name.
1135 1135
 	 * @param Integer $user_id The user identifier.
1136 1136
 	 * @param Integer $exp     Expiration time in seconds.
1137
+	 * @return string
1137 1138
 	 */
1138 1139
 	public function generate_secrets( $action, $user_id = false, $exp = 600 ) {
1139 1140
 		if ( false === $user_id ) {
@@ -1549,7 +1550,7 @@  discard block
 block discarded – undo
1549 1550
 	 *
1550 1551
 	 * @param int|false    $user_id   false: Return the Blog Token. int: Return that user's User Token.
1551 1552
 	 * @param string|false $token_key If provided, check that the token matches the provided input.
1552
-	 * @param bool|true    $suppress_errors If true, return a falsy value when the token isn't found; When false, return a descriptive WP_Error when the token isn't found.
1553
+	 * @param boolean    $suppress_errors If true, return a falsy value when the token isn't found; When false, return a descriptive WP_Error when the token isn't found.
1553 1554
 	 *
1554 1555
 	 * @return object|false
1555 1556
 	 */
Please login to merge, or discard this patch.