-
-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f76a670
commit 013ea67
Showing
8 changed files
with
57 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -757,6 +757,10 @@ public function select( $params ) { | |
} | ||
}//end if | ||
|
||
if ( is_object( $results ) ) { | ||
$results = get_object_vars( $results ); | ||
} | ||
|
||
/** | ||
* Filter results of Pods Query | ||
* | ||
|
@@ -766,7 +770,7 @@ public function select( $params ) { | |
* | ||
* @since unknown | ||
*/ | ||
$results = apply_filters( 'pods_data_select', $results, $params, $instance ); | ||
$results = (array) apply_filters( 'pods_data_select', $results, $params, $instance ); | ||
Check failure on line 773 in classes/PodsData.php GitHub Actions / phpstan / phpstan (8.2)
Check failure on line 773 in classes/PodsData.php GitHub Actions / phpstan / phpstan (8.3)
|
||
|
||
// Clean up data we don't want to work with. | ||
if ( | ||
|
@@ -806,7 +810,7 @@ public function select( $params ) { | |
* Filters whether the total_found should be calculated right away or not. | ||
* | ||
* @param boolean $auto_calculate_total_found Whether to auto calculate total_found. | ||
* @param array $params Select parameters. | ||
* @param object $params Select parameters. | ||
* @param PodsData $instance The current PodsData instance. | ||
* | ||
* @since 2.7.11 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,6 @@ parameters: | |
- ui/front | ||
- init.php | ||
- vendor/vendor-prefixed | ||
excludePaths: | ||
- src/Integrations | ||
- tests |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.