Completed
Push — renovate/automattic-color-stud... ( a2e0be )
by
unknown
213:45 queued 203:04
created
projects/packages/connection/src/class-manager.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
 	/**
314 314
 	 * Verifies the signature of the current request.
315 315
 	 *
316
-	 * @return false|array
316
+	 * @return boolean
317 317
 	 */
318 318
 	public function verify_xml_rpc_signature() {
319 319
 		if ( is_null( $this->xmlrpc_verification ) ) {
@@ -1286,6 +1286,7 @@  discard block
 block discarded – undo
1286 1286
 	 * @param String  $action  The action name.
1287 1287
 	 * @param Integer $user_id The user identifier.
1288 1288
 	 * @param Integer $exp     Expiration time in seconds.
1289
+	 * @return string
1289 1290
 	 */
1290 1291
 	public function generate_secrets( $action, $user_id = false, $exp = 600 ) {
1291 1292
 		if ( false === $user_id ) {
@@ -2242,7 +2243,7 @@  discard block
 block discarded – undo
2242 2243
 	 *
2243 2244
 	 * @param int|false    $user_id   false: Return the Blog Token. int: Return that user's User Token.
2244 2245
 	 * @param string|false $token_key If provided, check that the token matches the provided input.
2245
-	 * @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.
2246
+	 * @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.
2246 2247
 	 *
2247 2248
 	 * @return object|false
2248 2249
 	 */
@@ -2626,7 +2627,7 @@  discard block
 block discarded – undo
2626 2627
 	 * Fetches a signed token.
2627 2628
 	 *
2628 2629
 	 * @param object $token the token.
2629
-	 * @return WP_Error|string a signed token
2630
+	 * @return string a signed token
2630 2631
 	 */
2631 2632
 	public function get_signed_token( $token ) {
2632 2633
 		if ( ! isset( $token->secret ) || empty( $token->secret ) ) {
Please login to merge, or discard this patch.
projects/packages/autoloader/src/class-php-autoloader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
 	 *
101 101
 	 * @param string $class_name The name of the class to autoload.
102 102
 	 *
103
-	 * @return bool Indicates whether or not a class file was loaded.
103
+	 * @return null|boolean Indicates whether or not a class file was loaded.
104 104
 	 */
105 105
 	public static function load_class( $class_name ) {
106 106
 		global $jetpack_autoloader_loader;
Please login to merge, or discard this patch.
projects/packages/analyzer/src/class-declarations.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
 	/**
24 24
 	 * Scan every PHP in the root
25
+	 * @param string $root
25 26
 	 */
26 27
 	public function scan( $root, $exclude = array() ) {
27 28
 		if ( is_dir( $root ) ) {
@@ -33,6 +34,9 @@  discard block
 block discarded – undo
33 34
 		}
34 35
 	}
35 36
 
37
+	/**
38
+	 * @param string $root
39
+	 */
36 40
 	public function scan_dir( $root, $exclude = array() ) {
37 41
 
38 42
 		if ( is_null( $exclude ) || ! is_array( $exclude ) ) {
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.