Completed
Push — milestone/2_0/react-ui ( 57d10c...9fa794 )
by
unknown
02:39
created
core/Container/Post_Meta_Container.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
 	 *
269 269
 	 * @deprecated
270 270
 	 * @param int|string $page page ID or page path
271
-	 * @return object $this
271
+	 * @return Post_Meta_Container $this
272 272
 	 */
273 273
 	public function show_on_page( $page ) {
274 274
 		$page_id = absint( $page );
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
 	 *
291 291
 	 * @deprecated
292 292
 	 * @param string $parent_page_path
293
-	 * @return object $this
293
+	 * @return Post_Meta_Container $this
294 294
 	 */
295 295
 	public function show_on_page_children( $parent_page_path ) {
296 296
 		$page = get_page_by_path( $parent_page_path );
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
 	 *
305 305
 	 * @deprecated
306 306
 	 * @param string|array $template_path
307
-	 * @return object $this
307
+	 * @return Post_Meta_Container $this
308 308
 	 */
309 309
 	public function show_on_template( $template_path ) {
310 310
 		// Backwards compatibility where only pages support templates
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
 	 *
323 323
 	 * @deprecated
324 324
 	 * @param string|array $template_path
325
-	 * @return object $this
325
+	 * @return Post_Meta_Container $this
326 326
 	 */
327 327
 	public function hide_on_template( $template_path ) {
328 328
 		$template_paths = is_array( $template_path ) ? $template_path : array( $template_path );
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
 	 *
337 337
 	 * @deprecated
338 338
 	 * @param int $level
339
-	 * @return object $this
339
+	 * @return Post_Meta_Container $this
340 340
 	 */
341 341
 	public function show_on_level( $level ) {
342 342
 		$this->and_when( 'post_level', '=', intval( $level ) );
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
 	 *
350 350
 	 * @deprecated
351 351
 	 * @param string|array $post_format Name of the format as listed on Codex
352
-	 * @return object $this
352
+	 * @return Post_Meta_Container $this
353 353
 	 */
354 354
 	public function show_on_post_format( $post_format ) {
355 355
 		$post_formats = is_array( $post_format ) ? $post_format : array( $post_format );
@@ -361,8 +361,8 @@  discard block
 block discarded – undo
361 361
 	 * Show the container only on posts from the specified type(s).
362 362
 	 *
363 363
 	 * @deprecated
364
-	 * @param string|array $post_types
365
-	 * @return object $this
364
+	 * @param string $post_types
365
+	 * @return Post_Meta_Container $this
366 366
 	 */
367 367
 	public function show_on_post_type( $post_types ) {
368 368
 		$post_types = is_array( $post_types ) ? $post_types : array( $post_types );
@@ -377,7 +377,7 @@  discard block
 block discarded – undo
377 377
 	 *
378 378
 	 * @deprecated
379 379
 	 * @param string $category_slug
380
-	 * @return object $this
380
+	 * @return Post_Meta_Container $this
381 381
 	 */
382 382
 	public function show_on_category( $category_slug ) {
383 383
 		$this->and_when( 'post_term', '=', array(
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
 	 * @deprecated
395 395
 	 * @param string $taxonomy_slug
396 396
 	 * @param string $term_slug
397
-	 * @return object $this
397
+	 * @return Post_Meta_Container $this
398 398
 	 */
399 399
 	public function show_on_taxonomy_term( $term_slug, $taxonomy_slug ) {
400 400
 		$this->and_when( '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->and_when( 'term_level', '=', intval( $term_level ) );
Please login to merge, or discard this patch.
core/Container/User_Meta_Container.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
195 195
 	 *
196 196
 	 * @deprecated
197 197
 	 * @param string|array $role
198
-	 * @return object $this
198
+	 * @return User_Meta_Container $this
199 199
 	 */
200 200
 	public function show_on_user_role( $role ) {
201 201
 		$roles = is_array( $role ) ? $role : array( $role );
Please login to merge, or discard this patch.
core/Field/Checkbox_Field.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 	/**
43 43
 	 * Return a differently formatted value for end-users
44 44
 	 *
45
-	 * @return mixed
45
+	 * @return boolean
46 46
 	 */
47 47
 	public function get_formatted_value() {
48 48
 		return ( $this->get_value() === $this->option_value );
Please login to merge, or discard this patch.