Completed
Push — milestone/2_0/react-ui ( 086f71...66ee30 )
by
unknown
04:02
created
core/Container/Fulfillable/Fulfillable_Collection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -298,7 +298,7 @@
 block discarded – undo
298 298
 	 * 
299 299
 	 * @param  array<string>          $condition_types
300 300
 	 * @param  array|boolean          $environment Environment array or a boolean value to force on conditions
301
-	 * @param  array                  $comparison_operators Array of comparison operators to evaluate regardless of condition type
301
+	 * @param  string[]                  $comparison_operators Array of comparison operators to evaluate regardless of condition type
302 302
 	 * @return Fulfillable_Collection
303 303
 	 */
304 304
 	public function evaluate( $condition_types, $environment, $comparison_operators = array() ) {
Please login to merge, or discard this patch.
core/Container/Post_Meta_Container.php 1 patch
Doc Comments   +10 added lines, -11 removed lines patch added patch discarded remove patch
@@ -69,7 +69,6 @@  discard block
 block discarded – undo
69 69
 	 * Possible errors are triggering save() for autosave requests
70 70
 	 * or performing post save outside of the post edit page (like Quick Edit)
71 71
 	 *
72
-	 * @param int $post_id ID of the post against which save() is ran
73 72
 	 * @return bool
74 73
 	 **/
75 74
 	public function is_valid_save() {
@@ -269,7 +268,7 @@  discard block
 block discarded – undo
269 268
 	 *
270 269
 	 * @deprecated
271 270
 	 * @param int|string $page page ID or page path
272
-	 * @return object $this
271
+	 * @return Post_Meta_Container $this
273 272
 	 **/
274 273
 	public function show_on_page( $page ) {
275 274
 		$page_id = absint( $page );
@@ -291,7 +290,7 @@  discard block
 block discarded – undo
291 290
 	 *
292 291
 	 * @deprecated
293 292
 	 * @param string $parent_page_path
294
-	 * @return object $this
293
+	 * @return Post_Meta_Container $this
295 294
 	 **/
296 295
 	public function show_on_page_children( $parent_page_path ) {
297 296
 		$page = get_page_by_path( $parent_page_path );
@@ -305,7 +304,7 @@  discard block
 block discarded – undo
305 304
 	 *
306 305
 	 * @deprecated
307 306
 	 * @param string|array $template_path
308
-	 * @return object $this
307
+	 * @return Post_Meta_Container $this
309 308
 	 **/
310 309
 	public function show_on_template( $template_path ) {
311 310
 		// Backwards compatibility where only pages support templates
@@ -323,7 +322,7 @@  discard block
 block discarded – undo
323 322
 	 *
324 323
 	 * @deprecated
325 324
 	 * @param string|array $template_path
326
-	 * @return object $this
325
+	 * @return Post_Meta_Container $this
327 326
 	 **/
328 327
 	public function hide_on_template( $template_path ) {
329 328
 		$template_paths = is_array( $template_path ) ? $template_path : array( $template_path );
@@ -337,7 +336,7 @@  discard block
 block discarded – undo
337 336
 	 *
338 337
 	 * @deprecated
339 338
 	 * @param int $level
340
-	 * @return object $this
339
+	 * @return Post_Meta_Container $this
341 340
 	 **/
342 341
 	public function show_on_level( $level ) {
343 342
 		$this->and_when( 'post_level', '=', intval( $level ) );
@@ -350,7 +349,7 @@  discard block
 block discarded – undo
350 349
 	 *
351 350
 	 * @deprecated
352 351
 	 * @param string|array $post_format Name of the format as listed on Codex
353
-	 * @return object $this
352
+	 * @return Post_Meta_Container $this
354 353
 	 **/
355 354
 	public function show_on_post_format( $post_format ) {
356 355
 		$post_formats = is_array( $post_format ) ? $post_format : array( $post_format );
@@ -362,8 +361,8 @@  discard block
 block discarded – undo
362 361
 	 * Show the container only on posts from the specified type(s).
363 362
 	 *
364 363
 	 * @deprecated
365
-	 * @param string|array $post_types
366
-	 * @return object $this
364
+	 * @param string $post_types
365
+	 * @return Post_Meta_Container $this
367 366
 	 **/
368 367
 	public function show_on_post_type( $post_types ) {
369 368
 		$post_types = is_array( $post_types ) ? $post_types : array( $post_types );
@@ -378,7 +377,7 @@  discard block
 block discarded – undo
378 377
 	 *
379 378
 	 * @deprecated
380 379
 	 * @param string $category_slug
381
-	 * @return object $this
380
+	 * @return Post_Meta_Container $this
382 381
 	 **/
383 382
 	public function show_on_category( $category_slug ) {
384 383
 		$this->and_when( 'post_term', '=', array(
@@ -395,7 +394,7 @@  discard block
 block discarded – undo
395 394
 	 * @deprecated
396 395
 	 * @param string $taxonomy_slug
397 396
 	 * @param string $term_slug
398
-	 * @return object $this
397
+	 * @return Post_Meta_Container $this
399 398
 	 **/
400 399
 	public function show_on_taxonomy_term( $term_slug, $taxonomy_slug ) {
401 400
 		$this->and_when( 'post_term', '=', array(
Please login to merge, or discard this patch.