Skip to content

Commit

Permalink
Update phpdoc references
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark committed Aug 12, 2023
1 parent cce2c62 commit 9d2c14a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion classes/PodsAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -8191,7 +8191,7 @@ public function delete_relationships( $related_id, $id, $related_pod, $related_f
* $params['id'] int Pod ID
* $params['name'] string Pod name
*
* @param array $params An associative array of parameters
* @param array|string $params An associative array of parameters or the pod name.
*
* @return bool True if exists
*
Expand Down
8 changes: 5 additions & 3 deletions includes/general.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @package Pods\Global\Functions\General
*/
Expand All @@ -11,6 +12,7 @@
use Pods\Data\Map_Field_Values;
use Pods\Whatsit;
use Pods\Whatsit\Field;
use Pods\Whatsit\Object_Field;
use Pods\Whatsit\Pod;
use Pods\Whatsit\Store;

Expand Down Expand Up @@ -192,7 +194,7 @@ static function( $class_name ) {

// No ID here since there may be multiple on the page.
$div_attr_id = '';

wp_enqueue_style( 'pods-form' );
} else {
$div_attr_id = 'id="' . esc_attr( $div_id ) . '"';
Expand Down Expand Up @@ -2278,7 +2280,7 @@ function pods_has_permissions( $object ) {
* @param string|array $status Post statuses to include (default is what user has access to)
* @param bool $return Whether to return the 'id' or 'post'.
*
* @return WP_Post|null WP_Post on success or null on failure
* @return WP_Post|int|null WP_Post on success or null on failure
*
* @since 2.3.4
*/
Expand Down Expand Up @@ -4107,7 +4109,7 @@ function pod_has_items( $pod ) {
* @param array|Field $config_to_merge_into The config to merge into.
* @param array|Field $config_to_merge_from The config to merge from.
*
* @return array|Field The final config result.
* @return array|Field|Value_Field The final config result.
*/
function pods_config_merge_data( $config_to_merge_into, $config_to_merge_from ) {
// The configs already match.
Expand Down

0 comments on commit 9d2c14a

Please sign in to comment.