Passed
Branch ticket-41057 (c4f931)
by Stephen
24:38
created
src/wp-includes/Requests/Cookie.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -377,6 +377,7 @@
 block discarded – undo
377 377
 	 * specifies some of this handling, but not in a thorough manner.
378 378
 	 *
379 379
 	 * @param string Cookie header value (from a Set-Cookie header)
380
+	 * @param integer $reference_time
380 381
 	 * @return Requests_Cookie Parsed cookie object
381 382
 	 */
382 383
 	public static function parse($string, $name = '', $reference_time = null) {
Please login to merge, or discard this patch.
src/wp-includes/Requests/Exception/Transport/cURL.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@
 block discarded – undo
29 29
 	 */
30 30
 	protected $reason = 'Unknown';
31 31
 
32
+	/**
33
+	 * @param string $message
34
+	 */
32 35
 	public function __construct($message, $type, $data = null, $code = 0) {
33 36
 		if ($type !== null) {
34 37
 			$this->type = $type;
Please login to merge, or discard this patch.
src/wp-includes/Requests/Hooker.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -19,6 +19,7 @@
 block discarded – undo
19 19
 	 * @param string $hook Hook name
20 20
 	 * @param callback $callback Function/method to call on event
21 21
 	 * @param int $priority Priority number. <0 is executed earlier, >0 is executed later
22
+	 * @return void
22 23
 	 */
23 24
 	public function register($hook, $callback, $priority = 0);
24 25
 
Please login to merge, or discard this patch.
src/wp-includes/Requests/Proxy.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -30,6 +30,7 @@
 block discarded – undo
30 30
 	 *
31 31
 	 * @see Requests_Hooks::register
32 32
 	 * @param Requests_Hooks $hooks Hook system
33
+	 * @return void
33 34
 	 */
34 35
 	public function register(Requests_Hooks &$hooks);
35 36
 }
36 37
\ No newline at end of file
Please login to merge, or discard this patch.
src/wp-includes/shortcodes.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -301,7 +301,7 @@
 block discarded – undo
301 301
  *
302 302
  * @global array $shortcode_tags
303 303
  *
304
- * @param array $m Regular expression match array
304
+ * @param string[] $m Regular expression match array
305 305
  * @return string|false False on failure.
306 306
  */
307 307
 function do_shortcode_tag( $m ) {
Please login to merge, or discard this patch.
src/wp-includes/SimplePie/Restriction.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -83,6 +83,8 @@
 block discarded – undo
83 83
 	 *
84 84
 	 * For documentation on all the parameters, see the corresponding
85 85
 	 * properties and their accessors
86
+	 * @param string $relationship
87
+	 * @param string $value
86 88
 	 */
87 89
 	public function __construct($relationship = null, $type = null, $value = null)
88 90
 	{
Please login to merge, or discard this patch.
src/wp-includes/SimplePie/Source.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -74,6 +74,10 @@  discard block
 block discarded – undo
74 74
 		return md5(serialize($this->data));
75 75
 	}
76 76
 
77
+	/**
78
+	 * @param string $namespace
79
+	 * @param string $tag
80
+	 */
77 81
 	public function get_source_tags($namespace, $tag)
78 82
 	{
79 83
 		if (isset($this->data['child'][$namespace][$tag]))
@@ -86,6 +90,9 @@  discard block
 block discarded – undo
86 90
 		}
87 91
 	}
88 92
 
93
+	/**
94
+	 * @return string
95
+	 */
89 96
 	public function get_base($element = array())
90 97
 	{
91 98
 		return $this->item->get_base($element);
Please login to merge, or discard this patch.
tests/phpunit/includes/factory/class-wp-unittest-factory-for-bookmark.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
  */
8 8
 class WP_UnitTest_Factory_For_Bookmark extends WP_UnitTest_Factory_For_Thing {
9 9
 
10
+	/**
11
+	 * @param WP_UnitTest_Factory $factory
12
+	 */
10 13
 	public function __construct( $factory = null ) {
11 14
 		parent::__construct( $factory );
12 15
 		$this->default_generation_definitions = array(
Please login to merge, or discard this patch.
tests/phpunit/includes/phpunit6-compat.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
 
18 18
 	class PHPUnit_Util_Test extends PHPUnit\Util\Test {
19 19
 
20
+		/**
21
+		 * @param string $className
22
+		 */
20 23
 		public static function getTickets( $className, $methodName ) {
21 24
 			$annotations = self::parseTestMethodAnnotations( $className, $methodName );
22 25
 
Please login to merge, or discard this patch.