Completed
Push — milestone/2_0/react-ui ( 54c726...f44dc3 )
by
unknown
04:19
created
core/Container/Post_Meta_Container.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
 	 *
268 268
 	 * @deprecated
269 269
 	 * @param int|string $page page ID or page path
270
-	 * @return object $this
270
+	 * @return Post_Meta_Container $this
271 271
 	 */
272 272
 	public function show_on_page( $page ) {
273 273
 		$page_id = absint( $page );
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
 	 *
290 290
 	 * @deprecated
291 291
 	 * @param string $parent_page_path
292
-	 * @return object $this
292
+	 * @return Post_Meta_Container $this
293 293
 	 */
294 294
 	public function show_on_page_children( $parent_page_path ) {
295 295
 		$page = get_page_by_path( $parent_page_path );
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
 	 *
304 304
 	 * @deprecated
305 305
 	 * @param string|array $template_path
306
-	 * @return object $this
306
+	 * @return Post_Meta_Container $this
307 307
 	 */
308 308
 	public function show_on_template( $template_path ) {
309 309
 		// Backwards compatibility where only pages support templates
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
 	 *
322 322
 	 * @deprecated
323 323
 	 * @param string|array $template_path
324
-	 * @return object $this
324
+	 * @return Post_Meta_Container $this
325 325
 	 */
326 326
 	public function hide_on_template( $template_path ) {
327 327
 		$template_paths = is_array( $template_path ) ? $template_path : array( $template_path );
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
 	 *
336 336
 	 * @deprecated
337 337
 	 * @param int $level
338
-	 * @return object $this
338
+	 * @return Post_Meta_Container $this
339 339
 	 */
340 340
 	public function show_on_level( $level ) {
341 341
 		$this->where( 'post_level', '=', intval( $level ) );
@@ -348,7 +348,7 @@  discard block
 block discarded – undo
348 348
 	 *
349 349
 	 * @deprecated
350 350
 	 * @param string|array $post_format Name of the format as listed on Codex
351
-	 * @return object $this
351
+	 * @return Post_Meta_Container $this
352 352
 	 */
353 353
 	public function show_on_post_format( $post_format ) {
354 354
 		$post_formats = is_array( $post_format ) ? $post_format : array( $post_format );
@@ -360,8 +360,8 @@  discard block
 block discarded – undo
360 360
 	 * Show the container only on posts from the specified type(s).
361 361
 	 *
362 362
 	 * @deprecated
363
-	 * @param string|array $post_types
364
-	 * @return object $this
363
+	 * @param string $post_types
364
+	 * @return Post_Meta_Container $this
365 365
 	 */
366 366
 	public function show_on_post_type( $post_types ) {
367 367
 		$post_types = is_array( $post_types ) ? $post_types : array( $post_types );
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
 	 *
377 377
 	 * @deprecated
378 378
 	 * @param string $category_slug
379
-	 * @return object $this
379
+	 * @return Post_Meta_Container $this
380 380
 	 */
381 381
 	public function show_on_category( $category_slug ) {
382 382
 		$this->where( 'post_term', '=', array(
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
 	 * @deprecated
394 394
 	 * @param string $taxonomy_slug
395 395
 	 * @param string $term_slug
396
-	 * @return object $this
396
+	 * @return Post_Meta_Container $this
397 397
 	 */
398 398
 	public function show_on_taxonomy_term( $term_slug, $taxonomy_slug ) {
399 399
 		$this->where( 'post_term', '=', array(
Please login to merge, or discard this patch.
core/Container/Term_Meta_Container.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
 	 *
199 199
 	 * @deprecated
200 200
 	 * @param string|array $taxonomies
201
-	 * @return object $this
201
+	 * @return Term_Meta_Container $this
202 202
 	 */
203 203
 	public function show_on_taxonomy( $taxonomies ) {
204 204
 		$taxonomies = is_array( $taxonomies ) ? $taxonomies : array( $taxonomies );
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
 	 *
212 212
 	 * @deprecated
213 213
 	 * @param int $term_level
214
-	 * @return object $this
214
+	 * @return Term_Meta_Container $this
215 215
 	 */
216 216
 	public function show_on_level( $term_level ) {
217 217
 		$this->where( 'term_level', '=', intval( $term_level ) );
Please login to merge, or discard this patch.