@@ -194,7 +194,7 @@ |
||
| 194 | 194 | /** |
| 195 | 195 | * Set the priority the callback should be registered with. |
| 196 | 196 | * |
| 197 | - * @param mixed $priority The callback priority |
|
| 197 | + * @param integer $priority The callback priority |
|
| 198 | 198 | * |
| 199 | 199 | * @return $this |
| 200 | 200 | */ |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * Model Constructor. |
| 44 | 44 | * |
| 45 | - * @param mixed $term WP_Term to fill data from |
|
| 45 | + * @param null|WP_Term $term WP_Term to fill data from |
|
| 46 | 46 | */ |
| 47 | 47 | public function __construct(WP_Term $term = null) |
| 48 | 48 | { |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | /** |
| 84 | 84 | * Get the post type object. |
| 85 | 85 | * |
| 86 | - * @return object |
|
| 86 | + * @return stdClass |
|
| 87 | 87 | */ |
| 88 | 88 | public function object() |
| 89 | 89 | { |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | * @param string,...|array $features string - First feature of possible many, |
| 97 | 97 | * array - Many features to check support for. |
| 98 | 98 | * |
| 99 | - * @return mixed |
|
| 99 | + * @return boolean |
|
| 100 | 100 | */ |
| 101 | 101 | public function supports($features) |
| 102 | 102 | { |
@@ -25,9 +25,9 @@ |
||
| 25 | 25 | * |
| 26 | 26 | * Converts string static class method to standard callable array. |
| 27 | 27 | * |
| 28 | - * @param mixed $callback Target callback |
|
| 28 | + * @param callable $callback Target callback |
|
| 29 | 29 | * |
| 30 | - * @return mixed Closure Anonymous function |
|
| 30 | + * @return callable Closure Anonymous function |
|
| 31 | 31 | * array Class method |
| 32 | 32 | * string Function |
| 33 | 33 | */ |