@@ -18,7 +18,7 @@ |
||
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * @param string $type Meta type |
| 21 | - * @param int|string $object_id ID of the object metadata is for |
|
| 21 | + * @param integer $object_id ID of the object metadata is for |
|
| 22 | 22 | * @param string $key Meta key |
| 23 | 23 | */ |
| 24 | 24 | public function __construct($type, $object_id, $key) |
@@ -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 | { |
@@ -61,10 +61,10 @@ |
||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * Call the shortcode's handler and return the output. |
|
| 65 | - * |
|
| 66 | - * @return mixed Rendered shortcode output |
|
| 67 | - */ |
|
| 64 | + * Call the shortcode's handler and return the output. |
|
| 65 | + * |
|
| 66 | + * @return mixed Rendered shortcode output |
|
| 67 | + */ |
|
| 68 | 68 | public function render() |
| 69 | 69 | { |
| 70 | 70 | $dedicated_method = "{$this->tag}_handler"; |
@@ -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 | { |