Skip to content

Commit

Permalink
More phpstan fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark committed Aug 18, 2024
1 parent 670079f commit 0ff135e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion classes/PodsAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -10570,7 +10570,8 @@ public function get_table_info( $object_type, $object, $name = null, $pod = null
* @param array $post_status List of post statuses. Default is 'publish' or field setting (if available).
* @param string $post_type Post type of current object.
* @param array $info Array of information about the object.
* @param string $object Type of object.
* @param string $object_type Type of object.
* @param string $object Object name if provided.
* @param string|null $name Name of pod to load.
* @param array|Pod|null $pod The pod config (if found).
* @param array|Field|null $field The field config (if found).
Expand Down
2 changes: 1 addition & 1 deletion classes/PodsData.php
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ public function select( $params ) {
* Filter results of Pods Query
*
* @param array $results
* @param array $params
* @param object $params
* @param PodsData $instance The current PodsData class instance.
*
* @since unknown
Expand Down
2 changes: 1 addition & 1 deletion classes/PodsUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -2646,7 +2646,7 @@ public function manage( $reorder = false ) {
* @param array $custom_container_classes List of custom classes to use.
* @param PodsUI $obj PodsUI instance.
*/
$custom_container_classes = apply_filters( 'pods_ui_manage_custom_container_classes', array(), $obj );
$custom_container_classes = apply_filters( 'pods_ui_manage_custom_container_classes', array(), $this );

if ( is_admin() ) {
array_unshift( $custom_container_classes, 'wrap' );
Expand Down

0 comments on commit 0ff135e

Please sign in to comment.