@@ -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 | */ |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | /** |
126 | 126 | * @param $caps |
127 | 127 | * |
128 | - * @return array |
|
128 | + * @return string[] |
|
129 | 129 | */ |
130 | 130 | public function get_capabilities( $caps ) { |
131 | 131 | |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | /** |
149 | 149 | * @param $post_types |
150 | 150 | * |
151 | - * @return array |
|
151 | + * @return string[] |
|
152 | 152 | */ |
153 | 153 | public function disable_builder_layout( $post_types ) { |
154 | 154 |
@@ -19,7 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * Constructor - Pods Deprecated functionality (pre 2.0) |
21 | 21 | * |
22 | - * @param object $obj The Pods object |
|
22 | + * @param Pods $obj The Pods object |
|
23 | 23 | * |
24 | 24 | * @license http://www.gnu.org/licenses/gpl-2.0.html |
25 | 25 | * @since 2.0 |
@@ -21,7 +21,7 @@ |
||
21 | 21 | /** |
22 | 22 | * Constructor - PodsAPI Deprecated functionality (pre 2.0) |
23 | 23 | * |
24 | - * @param object $obj The PodsAPI object |
|
24 | + * @param PodsAPI $obj The PodsAPI object |
|
25 | 25 | * |
26 | 26 | * @license http://www.gnu.org/licenses/gpl-2.0.html |
27 | 27 | * @since 2.0 |
@@ -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 $version |
518 | 518 | * |
519 | - * @return array|string |
|
519 | + * @return string |
|
520 | 520 | */ |
521 | 521 | function pods_version_to_point( $version ) { |
522 | 522 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
20 | - * @return array|bool|int|mixed|null|void |
|
20 | + * @return integer |
|
21 | 21 | */ |
22 | 22 | public function prepare_relationships() { |
23 | 23 |
@@ -619,7 +619,7 @@ |
||
619 | 619 | * @param string $date Defaults to time() if empty. |
620 | 620 | * @param boolean $return_timestamp Whether to return the strtotime() or createFromFormat result or not. |
621 | 621 | * |
622 | - * @return DateTime|null|int|false |
|
622 | + * @return string |
|
623 | 623 | */ |
624 | 624 | public function createFromFormat( $format, $date, $return_timestamp = false ) { |
625 | 625 |
@@ -2238,8 +2238,8 @@ discard block |
||
2238 | 2238 | * |
2239 | 2239 | * @param string|array $sql The SQL to execute. |
2240 | 2240 | * @param string $error Error to throw on problems. |
2241 | - * @param null $results_error (optional). |
|
2242 | - * @param null $no_results_error (optional). |
|
2241 | + * @param string|null $results_error (optional). |
|
2242 | + * @param string|null $no_results_error (optional). |
|
2243 | 2243 | * |
2244 | 2244 | * @return array|bool|mixed|null|void Result of the query |
2245 | 2245 | * |
@@ -2586,7 +2586,7 @@ discard block |
||
2586 | 2586 | /** |
2587 | 2587 | * Get the string to use in a query for matching, uses WP_Query meta_query arguments |
2588 | 2588 | * |
2589 | - * @param string|int $field Field name or array index. |
|
2589 | + * @param string $field Field name or array index. |
|
2590 | 2590 | * @param array|string $q Query array (meta_query) or string for matching. |
2591 | 2591 | * @param array $pod Related Pod. |
2592 | 2592 | * @param object $params Parameters passed from select(). |