@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | |
| 115 | 115 | /** |
| 116 | 116 | * [onlyXtimes description] |
| 117 | - * @param [type] $times [description] |
|
| 117 | + * @param integer $times [description] |
|
| 118 | 118 | * @return [type] [description] |
| 119 | 119 | */ |
| 120 | 120 | public function onlyXtimes($times) |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | |
| 138 | 138 | /** |
| 139 | 139 | * [withPriority description] |
| 140 | - * @param [type] $priority [description] |
|
| 140 | + * @param integer $priority [description] |
|
| 141 | 141 | * @return [type] [description] |
| 142 | 142 | */ |
| 143 | 143 | public function withPriority($priority) |
@@ -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) |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | * |
| 153 | 153 | * If trash is disabled, the post or page is permanently deleted. |
| 154 | 154 | * |
| 155 | - * @return false|array|WP_Post|null Post data array, otherwise false. |
|
| 155 | + * @return Model Post data array, otherwise false. |
|
| 156 | 156 | */ |
| 157 | 157 | public function trash() |
| 158 | 158 | { |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | /** |
| 167 | 167 | * Restore a post or page from the Trash |
| 168 | 168 | * |
| 169 | - * @return WP_Post|false WP_Post object. False on failure. |
|
| 169 | + * @return Model WP_Post object. False on failure. |
|
| 170 | 170 | */ |
| 171 | 171 | public function untrash() |
| 172 | 172 | { |