@@ -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) |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | * |
151 | 151 | * If trash is disabled, the post or page is permanently deleted. |
152 | 152 | * |
153 | - * @return false|array|WP_Post|null Post data array, otherwise false. |
|
153 | + * @return Post Post data array, otherwise false. |
|
154 | 154 | */ |
155 | 155 | public function trash() |
156 | 156 | { |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | /** |
165 | 165 | * Restore a post or page from the Trash |
166 | 166 | * |
167 | - * @return WP_Post|false WP_Post object. False on failure. |
|
167 | + * @return Post WP_Post object. False on failure. |
|
168 | 168 | */ |
169 | 169 | public function untrash() |
170 | 170 | { |
@@ -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) |