@@ -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 |
@@ -1654,7 +1654,7 @@ discard block |
||
| 1654 | 1654 | * @param array $params An associative array of parameters |
| 1655 | 1655 | * @param bool $sanitized (optional) Decides whether the params have been sanitized before being passed, will |
| 1656 | 1656 | * sanitize them if false. |
| 1657 | - * @param bool|int $db (optional) Whether to save into the DB or just return Pod array. |
|
| 1657 | + * @param boolean $db (optional) Whether to save into the DB or just return Pod array. |
|
| 1658 | 1658 | * |
| 1659 | 1659 | * @return int Pod ID |
| 1660 | 1660 | * @since 1.7.9 |
@@ -4252,7 +4252,7 @@ discard block |
||
| 4252 | 4252 | * Save relationships |
| 4253 | 4253 | * |
| 4254 | 4254 | * @param int $id ID of item |
| 4255 | - * @param int|array $related_id ID or IDs to save |
|
| 4255 | + * @param int|array $related_ids ID or IDs to save |
|
| 4256 | 4256 | * @param array $pod Pod data |
| 4257 | 4257 | * @param array $field Field data |
| 4258 | 4258 | */ |
@@ -5558,7 +5558,6 @@ discard block |
||
| 5558 | 5558 | * Delete an object from tableless fields |
| 5559 | 5559 | * |
| 5560 | 5560 | * @param int $id |
| 5561 | - * @param string $type |
|
| 5562 | 5561 | * @param string $name |
| 5563 | 5562 | * |
| 5564 | 5563 | * @return bool |
@@ -5792,6 +5791,7 @@ discard block |
||
| 5792 | 5791 | * $params['name'] string Pod name |
| 5793 | 5792 | * |
| 5794 | 5793 | * @param array $params An associative array of parameters |
| 5794 | + * @param string $type |
|
| 5795 | 5795 | * |
| 5796 | 5796 | * @return bool True if exists |
| 5797 | 5797 | * |
@@ -7505,7 +7505,7 @@ discard block |
||
| 7505 | 7505 | * @param string $type Field type to look for |
| 7506 | 7506 | * @param array $options (optional) Options of the field to pass to the schema function. |
| 7507 | 7507 | * |
| 7508 | - * @return array|bool|mixed|null |
|
| 7508 | + * @return string |
|
| 7509 | 7509 | * |
| 7510 | 7510 | * @since 2.0 |
| 7511 | 7511 | */ |
@@ -7993,7 +7993,7 @@ discard block |
||
| 7993 | 7993 | * |
| 7994 | 7994 | * Load the information about an objects MySQL table |
| 7995 | 7995 | * |
| 7996 | - * @param $object_type |
|
| 7996 | + * @param string $object_type |
|
| 7997 | 7997 | * @param string $object The object to look for |
| 7998 | 7998 | * @param null $name (optional) Name of the pod to load |
| 7999 | 7999 | * @param array $pod (optional) Array with pod information |