@@ -380,7 +380,7 @@ |
||
| 380 | 380 | * $params['name'] string Field name |
| 381 | 381 | * |
| 382 | 382 | * @param array $params An associative array of parameters |
| 383 | - * @param null $obj |
|
| 383 | + * @param Pods $obj |
|
| 384 | 384 | * |
| 385 | 385 | * @return mixed Anything returned by the helper |
| 386 | 386 | * @since 2.0 |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | /** |
| 20 | 20 | * Return array of valid frontier type shortcode tags |
| 21 | 21 | * |
| 22 | - * @return array |
|
| 22 | + * @return string[] |
|
| 23 | 23 | */ |
| 24 | 24 | function frontier_get_shortcodes() { |
| 25 | 25 | |
@@ -257,7 +257,7 @@ discard block |
||
| 257 | 257 | * @param array attributes from template |
| 258 | 258 | * @param string template to be processed |
| 259 | 259 | * |
| 260 | - * @return null |
|
| 260 | + * @return string |
|
| 261 | 261 | * @since 2.4 |
| 262 | 262 | */ |
| 263 | 263 | function frontier_do_subtemplate( $atts, $content ) { |
@@ -442,7 +442,7 @@ discard block |
||
| 442 | 442 | * @param string $message |
| 443 | 443 | * @param bool $error Whether or not it is an error message |
| 444 | 444 | * |
| 445 | - * @return bool |
|
| 445 | + * @return boolean|null |
|
| 446 | 446 | * |
| 447 | 447 | * @since 1.12 |
| 448 | 448 | * @deprcated 2.3 |
@@ -459,7 +459,7 @@ discard block |
||
| 459 | 459 | * |
| 460 | 460 | * @param string $message |
| 461 | 461 | * |
| 462 | - * @return bool |
|
| 462 | + * @return boolean|null |
|
| 463 | 463 | * |
| 464 | 464 | * @since 1.12 |
| 465 | 465 | * @deprcated 2.3 |
@@ -516,7 +516,7 @@ discard block |
||
| 516 | 516 | * |
| 517 | 517 | * @param string $version Version number string. |
| 518 | 518 | * |
| 519 | - * @return array|string |
|
| 519 | + * @return string |
|
| 520 | 520 | */ |
| 521 | 521 | function pods_version_to_point( $version ) { |
| 522 | 522 | |
@@ -855,7 +855,7 @@ |
||
| 855 | 855 | * |
| 856 | 856 | * @param mixed $value The value to be set |
| 857 | 857 | * @param mixed $var The variable name, or URI segment position / query var name (if $type is 'url') |
| 858 | - * @param string|array|object $type (optional) Super globals, url/url-relative, constants, globals, user data, Pod |
|
| 858 | + * @param string $type (optional) Super globals, url/url-relative, constants, globals, user data, Pod |
|
| 859 | 859 | * field values |
| 860 | 860 | * |
| 861 | 861 | * @return mixed Updated URL (if $type is 'url'), $value (if $type is 'constant'), Item ID (if $type is 'pods'), $type, |
@@ -388,7 +388,6 @@ discard block |
||
| 388 | 388 | /** |
| 389 | 389 | * Determine if Deprecated Mode is enabled |
| 390 | 390 | * |
| 391 | - * @param bool $include_debug Whether to include strict mode |
|
| 392 | 391 | * |
| 393 | 392 | * @return bool Whether Deprecated Mode is enabled |
| 394 | 393 | * |
@@ -518,6 +517,7 @@ discard block |
||
| 518 | 517 | * @param string $minimum_version Minimum version |
| 519 | 518 | * @param string $comparison Comparison operator |
| 520 | 519 | * @param string $maximum_version Maximum version |
| 520 | + * @param string $what |
|
| 521 | 521 | * |
| 522 | 522 | * @return bool |
| 523 | 523 | */ |
@@ -1032,7 +1032,7 @@ discard block |
||
| 1032 | 1032 | * @uses get_shortcode_regex() Gets the search pattern for searching shortcodes. |
| 1033 | 1033 | * |
| 1034 | 1034 | * @param string $content Content to search for shortcodes |
| 1035 | - * @param array $shortcodes Array of shortcodes to run |
|
| 1035 | + * @param string[] $shortcodes Array of shortcodes to run |
|
| 1036 | 1036 | * |
| 1037 | 1037 | * @return string Content with shortcodes filtered out. |
| 1038 | 1038 | */ |
@@ -1620,7 +1620,7 @@ discard block |
||
| 1620 | 1620 | * @param string|bool $key Key for the cache |
| 1621 | 1621 | * @param string $group (optional) Key for the group |
| 1622 | 1622 | * |
| 1623 | - * @return bool|mixed|null|void |
|
| 1623 | + * @return boolean |
|
| 1624 | 1624 | * |
| 1625 | 1625 | * @since 2.0 |
| 1626 | 1626 | */ |
@@ -1843,7 +1843,6 @@ discard block |
||
| 1843 | 1843 | * |
| 1844 | 1844 | * @param string|array $pod The pod name or array of pod names |
| 1845 | 1845 | * @param string $name The name of the Pod |
| 1846 | - * @param array $object (optional) Pod array, including any 'fields' arrays |
|
| 1847 | 1846 | * |
| 1848 | 1847 | * @return array|boolean Field data or false if unsuccessful |
| 1849 | 1848 | * @since 2.1 |