@@ -377,6 +377,7 @@ |
||
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) { |
@@ -29,6 +29,9 @@ |
||
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; |
@@ -19,6 +19,7 @@ |
||
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 |
@@ -30,6 +30,7 @@ |
||
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 |
@@ -301,7 +301,7 @@ |
||
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 ) { |
@@ -83,6 +83,8 @@ |
||
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 | { |
@@ -74,6 +74,10 @@ discard block |
||
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 |
||
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); |
@@ -7,6 +7,9 @@ |
||
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( |
@@ -17,6 +17,9 @@ |
||
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 |