@@ -1559,7 +1559,7 @@ discard block |
||
1559 | 1559 | * |
1560 | 1560 | * @param array $params An associative array of parameters |
1561 | 1561 | * @param bool $sanitized (optional) Decides whether the params have been sanitized before being passed, will sanitize them if false. |
1562 | - * @param bool|int $db (optional) Whether to save into the DB or just return Pod array. |
|
1562 | + * @param boolean $db (optional) Whether to save into the DB or just return Pod array. |
|
1563 | 1563 | * |
1564 | 1564 | * @return int Pod ID |
1565 | 1565 | * @since 1.7.9 |
@@ -3903,7 +3903,7 @@ discard block |
||
3903 | 3903 | * Save relationships |
3904 | 3904 | * |
3905 | 3905 | * @param int $id ID of item |
3906 | - * @param int|array $related_id ID or IDs to save |
|
3906 | + * @param int|array $related_ids ID or IDs to save |
|
3907 | 3907 | * @param array $pod Pod data |
3908 | 3908 | * @param array $field Field data |
3909 | 3909 | */ |
@@ -5061,7 +5061,6 @@ discard block |
||
5061 | 5061 | * Delete an object from tableless fields |
5062 | 5062 | * |
5063 | 5063 | * @param int $id |
5064 | - * @param string $type |
|
5065 | 5064 | * @param string $name |
5066 | 5065 | * |
5067 | 5066 | * @return bool |
@@ -5284,6 +5283,7 @@ discard block |
||
5284 | 5283 | * $params['name'] string Pod name |
5285 | 5284 | * |
5286 | 5285 | * @param array $params An associative array of parameters |
5286 | + * @param string $type |
|
5287 | 5287 | * |
5288 | 5288 | * @return bool True if exists |
5289 | 5289 | * |
@@ -6792,7 +6792,7 @@ discard block |
||
6792 | 6792 | * @param string $type Field type to look for |
6793 | 6793 | * @param array $options (optional) Options of the field to pass to the schema function. |
6794 | 6794 | * |
6795 | - * @return array|bool|mixed|null |
|
6795 | + * @return string |
|
6796 | 6796 | * |
6797 | 6797 | * @since 2.0 |
6798 | 6798 | */ |
@@ -7228,7 +7228,7 @@ discard block |
||
7228 | 7228 | * |
7229 | 7229 | * Load the information about an objects MySQL table |
7230 | 7230 | * |
7231 | - * @param $object_type |
|
7231 | + * @param string $object_type |
|
7232 | 7232 | * @param string $object The object to look for |
7233 | 7233 | * @param null $name (optional) Name of the pod to load |
7234 | 7234 | * @param array $pod (optional) Array with pod information |
@@ -1352,7 +1352,7 @@ |
||
1352 | 1352 | * @param bool $noarray |
1353 | 1353 | * @param bool $db_field |
1354 | 1354 | * |
1355 | - * @return mixed|string |
|
1355 | + * @return string |
|
1356 | 1356 | */ |
1357 | 1357 | public static function clean( $input, $noarray = false, $db_field = false ) { |
1358 | 1358 |
@@ -545,7 +545,7 @@ discard block |
||
545 | 545 | * @param array $data Array of data |
546 | 546 | * @param string $delimiter Delimiter for export type 'sv' |
547 | 547 | * |
548 | - * @return bool |
|
548 | + * @return false|string |
|
549 | 549 | */ |
550 | 550 | public function build_sv( $data = null, $delimiter = null ) { |
551 | 551 | |
@@ -624,7 +624,7 @@ discard block |
||
624 | 624 | /** |
625 | 625 | * @param array $data Array of data |
626 | 626 | * |
627 | - * @return bool |
|
627 | + * @return false|string |
|
628 | 628 | */ |
629 | 629 | public function build_xml( $data = null ) { |
630 | 630 | |
@@ -1238,7 +1238,7 @@ discard block |
||
1238 | 1238 | * @param array $data Data to export. |
1239 | 1239 | * @param bool $single Whether this is a single item export. |
1240 | 1240 | * |
1241 | - * @return mixed |
|
1241 | + * @return string |
|
1242 | 1242 | */ |
1243 | 1243 | public static function export_data_to_file( $file, $data, $single = false ) { |
1244 | 1244 |
@@ -439,7 +439,7 @@ discard block |
||
439 | 439 | * @param mixed $options Object, Array, or String containing Pod or Options to be used |
440 | 440 | * @param bool $deprecated Set to true to support old options array from Pods UI plugin |
441 | 441 | * |
442 | - * @return \PodsUI |
|
442 | + * @return false|null |
|
443 | 443 | * |
444 | 444 | * @license http://www.gnu.org/licenses/gpl-2.0.html |
445 | 445 | * @since 2.0 |
@@ -1481,7 +1481,7 @@ discard block |
||
1481 | 1481 | } |
1482 | 1482 | |
1483 | 1483 | /** |
1484 | - * @return mixed |
|
1484 | + * @return null|boolean |
|
1485 | 1485 | */ |
1486 | 1486 | public function go() { |
1487 | 1487 | |
@@ -1594,7 +1594,7 @@ discard block |
||
1594 | 1594 | } |
1595 | 1595 | |
1596 | 1596 | /** |
1597 | - * @return mixed |
|
1597 | + * @return null|boolean |
|
1598 | 1598 | */ |
1599 | 1599 | public function add() { |
1600 | 1600 | |
@@ -1641,7 +1641,7 @@ discard block |
||
1641 | 1641 | /** |
1642 | 1642 | * @param bool $duplicate |
1643 | 1643 | * |
1644 | - * @return mixed |
|
1644 | + * @return null|boolean |
|
1645 | 1645 | */ |
1646 | 1646 | public function edit( $duplicate = false ) { |
1647 | 1647 | |
@@ -1716,7 +1716,7 @@ discard block |
||
1716 | 1716 | * @param bool $create |
1717 | 1717 | * @param bool $duplicate |
1718 | 1718 | * |
1719 | - * @return bool|mixed |
|
1719 | + * @return null|boolean |
|
1720 | 1720 | */ |
1721 | 1721 | public function form( $create = false, $duplicate = false ) { |
1722 | 1722 | |
@@ -1877,7 +1877,7 @@ discard block |
||
1877 | 1877 | } |
1878 | 1878 | |
1879 | 1879 | /** |
1880 | - * @return bool|mixed |
|
1880 | + * @return null|boolean |
|
1881 | 1881 | * @since 2.3.10 |
1882 | 1882 | */ |
1883 | 1883 | public function view() { |
@@ -2158,9 +2158,9 @@ discard block |
||
2158 | 2158 | } |
2159 | 2159 | |
2160 | 2160 | /** |
2161 | - * @param null $id |
|
2161 | + * @param integer $id |
|
2162 | 2162 | * |
2163 | - * @return bool|mixed |
|
2163 | + * @return null|boolean |
|
2164 | 2164 | */ |
2165 | 2165 | public function delete( $id = null ) { |
2166 | 2166 | |
@@ -2718,7 +2718,7 @@ discard block |
||
2718 | 2718 | |
2719 | 2719 | /** |
2720 | 2720 | * @param int $counter |
2721 | - * @param null $method |
|
2721 | + * @param string $method |
|
2722 | 2722 | * |
2723 | 2723 | * @return array |
2724 | 2724 | */ |
@@ -3688,7 +3688,7 @@ discard block |
||
3688 | 3688 | /** |
3689 | 3689 | * @param bool $reorder |
3690 | 3690 | * |
3691 | - * @return bool|mixed |
|
3691 | + * @return null|boolean |
|
3692 | 3692 | */ |
3693 | 3693 | public function table( $reorder = false ) { |
3694 | 3694 | |
@@ -4775,7 +4775,7 @@ discard block |
||
4775 | 4775 | } |
4776 | 4776 | |
4777 | 4777 | /** |
4778 | - * @param bool|array $exclude |
|
4778 | + * @param string[] $exclude |
|
4779 | 4779 | * @param bool|array $array |
4780 | 4780 | */ |
4781 | 4781 | public function hidden_vars( $exclude = false, $array = false ) { |
@@ -1243,8 +1243,8 @@ discard block |
||
1243 | 1243 | public $list_level = 0; |
1244 | 1244 | |
1245 | 1245 | /** |
1246 | - * @param $list_str |
|
1247 | - * @param $marker_any_re |
|
1246 | + * @param string $list_str |
|
1247 | + * @param string $marker_any_re |
|
1248 | 1248 | * |
1249 | 1249 | * @return mixed |
1250 | 1250 | */ |
@@ -1371,7 +1371,7 @@ discard block |
||
1371 | 1371 | } |
1372 | 1372 | |
1373 | 1373 | /** |
1374 | - * @param $code |
|
1374 | + * @param string $code |
|
1375 | 1375 | * |
1376 | 1376 | * @return string |
1377 | 1377 | */ |
@@ -1978,7 +1978,7 @@ discard block |
||
1978 | 1978 | public $utf8_strlen = 'mb_strlen'; |
1979 | 1979 | |
1980 | 1980 | /** |
1981 | - * @param $text |
|
1981 | + * @param string $text |
|
1982 | 1982 | * |
1983 | 1983 | * @return mixed |
1984 | 1984 | */ |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | /** |
130 | 130 | * @param $caps |
131 | 131 | * |
132 | - * @return array |
|
132 | + * @return string[] |
|
133 | 133 | */ |
134 | 134 | public function get_capabilities( $caps ) { |
135 | 135 | |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | * |
179 | 179 | * @param array $post_types |
180 | 180 | * |
181 | - * @return array |
|
181 | + * @return string[] |
|
182 | 182 | */ |
183 | 183 | public function disable_builder_layout( $post_types ) { |
184 | 184 | |
@@ -717,7 +717,7 @@ discard block |
||
717 | 717 | * |
718 | 718 | * @param string $uri The Pod Page URI to check if exists |
719 | 719 | * |
720 | - * @return array|bool |
|
720 | + * @return boolean |
|
721 | 721 | */ |
722 | 722 | public static function exists( $uri = null ) { |
723 | 723 |
@@ -460,7 +460,7 @@ |
||
460 | 460 | } |
461 | 461 | |
462 | 462 | /** |
463 | - * @return array |
|
463 | + * @return string[] |
|
464 | 464 | */ |
465 | 465 | public function get_wp_capabilities() { |
466 | 466 |
@@ -298,8 +298,8 @@ discard block |
||
298 | 298 | /** |
299 | 299 | * create and register an instance ID |
300 | 300 | * |
301 | - * @param $id |
|
302 | - * @param $process |
|
301 | + * @param string $id |
|
302 | + * @param string $process |
|
303 | 303 | * |
304 | 304 | * @return string |
305 | 305 | */ |
@@ -491,8 +491,8 @@ discard block |
||
491 | 491 | * |
492 | 492 | * Get the current URL |
493 | 493 | * |
494 | - * @param null $src |
|
495 | - * @param null $path |
|
494 | + * @param string $src |
|
495 | + * @param string $path |
|
496 | 496 | * |
497 | 497 | * @return string |
498 | 498 | */ |
@@ -509,7 +509,7 @@ discard block |
||
509 | 509 | * |
510 | 510 | * Get the current URL |
511 | 511 | * |
512 | - * @param null $src |
|
512 | + * @param string $src |
|
513 | 513 | * |
514 | 514 | * @return string |
515 | 515 | */ |
@@ -254,7 +254,7 @@ |
||
254 | 254 | * |
255 | 255 | * @param bool $load_in_admin Optional. Whether to load in admin. Default is false. |
256 | 256 | * |
257 | - * @return Pods_PFAT_Frontend |
|
257 | + * @return Pods_Templates_Auto_Template_Front_End|null |
|
258 | 258 | * |
259 | 259 | * @since 2.5.5 |
260 | 260 | */ |