Skip to content

Commit 6469290

Browse files
committed
WordPress data class was still choking.
Signed-off-by: Kevin Provance <[email protected]>
1 parent 76c1d03 commit 6469290

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

redux-core/inc/classes/class-redux-wordpress-data.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -557,13 +557,13 @@ function ( $val ) use ( $post_type ) {
557557
/**
558558
* Set the default arguments for a current query (existing data).
559559
*
560-
* @param string $type Type of data request.
561-
* @param array $args Arguments for the call.
562-
* @param mixed|array $current_value Current value stored in DB.
560+
* @param string $type Type of data request.
561+
* @param array|string $args Arguments for the call.
562+
* @param mixed|array $current_value Current value stored in DB.
563563
*
564564
* @return array
565565
*/
566-
private function get_current_data_args( string $type, array $args, $current_value ): array {
566+
private function get_current_data_args( string $type, $args, $current_value ): array {
567567
// In this section we set the default arguments for each data type.
568568
switch ( $type ) {
569569
case 'categories':

0 commit comments

Comments
 (0)