Skip to content

Commit

Permalink
Fix: bug with type hint in `wpo_wcpdf_parse_document_date_for_wp_quer…
Browse files Browse the repository at this point in the history
…y()` (#771)
  • Loading branch information
alexmigf authored Apr 17, 2024
1 parent facc827 commit 83227ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/wcpdf-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -643,11 +643,11 @@ function WPO_WCPDF_Legacy() {
* Parse document date for WP_Query.
*
* @param array $wp_query_args
* @param mixed $query_args
* @param array $query_args
*
* @return array
*/
function wpo_wcpdf_parse_document_date_for_wp_query( array $wp_query_args, mixed $query_vars ): array {
function wpo_wcpdf_parse_document_date_for_wp_query( array $wp_query_args, array $query_vars ): array {
$documents = WPO_WCPDF()->documents->get_documents();

if ( ! empty( $documents ) ) {
Expand Down

0 comments on commit 83227ff

Please sign in to comment.