@@ -233,7 +233,7 @@ public function sanitize_query( $queries, $parent_query = null ) {
233233 }
234234
235235 /**
236- * Determine whether this is a first-order clause.
236+ * Determines whether this is a first-order clause.
237237 *
238238 * Checks to see if the current clause has any time-related keys.
239239 * If so, it's first-order.
@@ -276,7 +276,7 @@ public function get_compare( $query ) {
276276 * @since 4.1.0
277277 *
278278 * @param array $date_query The date_query array.
279- * @return bool True if all values in the query are valid, false if one or more fail.
279+ * @return bool True if all values in the query are valid, false if one or more fail.
280280 */
281281 public function validate_date_values ( $ date_query = array () ) {
282282 if ( empty ( $ date_query ) ) {
@@ -539,7 +539,7 @@ public function validate_column( $column ) {
539539 }
540540
541541 /**
542- * Generate WHERE clause to be appended to a main query.
542+ * Generates WHERE clause to be appended to a main query.
543543 *
544544 * @since 3.7.0
545545 *
@@ -562,7 +562,7 @@ public function get_sql() {
562562 }
563563
564564 /**
565- * Generate SQL clauses to be appended to a main query.
565+ * Generates SQL clauses to be appended to a main query.
566566 *
567567 * Called by the public WP_Date_Query::get_sql(), this method is abstracted
568568 * out to maintain parity with the other Query classes.
@@ -587,7 +587,7 @@ protected function get_sql_clauses() {
587587 }
588588
589589 /**
590- * Generate SQL clauses for a single query array.
590+ * Generates SQL clauses for a single query array.
591591 *
592592 * If nested subqueries are found, this method recurses the tree to
593593 * produce the properly nested SQL.
@@ -858,12 +858,12 @@ public function build_value( $compare, $value ) {
858858 *
859859 * @since 3.7.0
860860 *
861- * @param string|array $datetime An array of parameters or a strotime() string
861+ * @param string|array $datetime An array of parameters or a strotime() string.
862862 * @param bool $default_to_max Whether to round up incomplete dates. Supported by values
863863 * of $datetime that are arrays, or string values that are a
864864 * subset of MySQL date format ('Y', 'Y-m', 'Y-m-d', 'Y-m-d H:i').
865865 * Default: false.
866- * @return string|false A MySQL format date/time or false on failure
866+ * @return string|false A MySQL format date/time or false on failure.
867867 */
868868 public function build_mysql_datetime ( $ datetime , $ default_to_max = false ) {
869869 if ( ! is_array ( $ datetime ) ) {
0 commit comments