WordPress 4.7.1
[autoinstalls/wordpress.git] / wp-includes / rest-api / endpoints / class-wp-rest-terms-controller.php
index 6ca86ca15534b67d5378c21561fd3826401d99db..b8a1390d37e7664e4b18aef5b937e955737c16db 100644 (file)
@@ -971,10 +971,10 @@ class WP_REST_Terms_Controller extends WP_REST_Controller {
                 *
                 * @since 4.7.0
                 *
-                * @param $params JSON Schema-formatted collection parameters.
-                * @param WP_Taxonomy $taxonomy_obj Taxonomy object.
+                * @param array       $query_params JSON Schema-formatted collection parameters.
+                * @param WP_Taxonomy $taxonomy     Taxonomy object.
                 */
-               return apply_filters( 'rest_{$this->taxonomy}_collection_params', $query_params, $taxonomy );
+               return apply_filters( "rest_{$this->taxonomy}_collection_params", $query_params, $taxonomy );
        }
 
        /**