Skip to content

Commit

Permalink
Phpstan fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark committed Jul 15, 2024
1 parent 59344a0 commit 6f908bf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions classes/fields/file.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public function options() {
*
* @since 2.7.28
*
* @param string @default_directory The custom upload directory to use by default for new fields.
* @param string $default_directory The custom upload directory to use by default for new fields.
*/
'default' => apply_filters( "pods_form_ui_field_{$type}_upload_dir_custom", '' ),
'type' => 'text',
Expand Down Expand Up @@ -1281,10 +1281,10 @@ public function admin_ajax_upload() {
*
* @since 2.7.28
*
* @param Pods $context_pod The Pods object of the associated pod for the post type.
* @param array $params The POSTed parameters for the request.
* @param array $field The field configuration associated to the upload field.
* @param array $pod The pod configuration associated to the upload field.
* @param Pods $context_pod The Pods object of the associated pod for the post type.
* @param object $params The POSTed parameters for the request.
* @param array $field The field configuration associated to the upload field.
* @param array $pod The pod configuration associated to the upload field.
*/
$context_pod = apply_filters( 'pods_upload_dir_custom_context_pod', $context_pod, $params, $field, $pod );

Expand All @@ -1296,7 +1296,7 @@ public function admin_ajax_upload() {
* @since 2.7.28
*
* @param string $custom_dir The directory to use for the uploaded file.
* @param array $params The POSTed parameters for the request.
* @param object $params The POSTed parameters for the request.
* @param Pods $context_pod The Pods object of the associated pod for the post type.
* @param array $field The field configuration associated to the upload field.
* @param array $pod The pod configuration associated to the upload field.
Expand Down

0 comments on commit 6f908bf

Please sign in to comment.