@@ -2568,7 +2568,7 @@ discard block |
||
2568 | 2568 | * @param PodsUI $obj PodsUI object. |
2569 | 2569 | * @param int|string $id Item ID. |
2570 | 2570 | * |
2571 | - * @return mixed |
|
2571 | + * @return boolean|null |
|
2572 | 2572 | */ |
2573 | 2573 | public function admin_setup_reset( $obj, $id ) { |
2574 | 2574 | |
@@ -2617,7 +2617,7 @@ discard block |
||
2617 | 2617 | * @param int|string $id Item ID. |
2618 | 2618 | * @param PodsUI $obj PodsUI object. |
2619 | 2619 | * |
2620 | - * @return mixed |
|
2620 | + * @return boolean|null |
|
2621 | 2621 | */ |
2622 | 2622 | public function admin_setup_delete( $id, $obj ) { |
2623 | 2623 | |
@@ -2848,7 +2848,7 @@ discard block |
||
2848 | 2848 | * |
2849 | 2849 | * @param PodsUI $ui PodsUI object. |
2850 | 2850 | * |
2851 | - * @return bool |
|
2851 | + * @return boolean|null |
|
2852 | 2852 | */ |
2853 | 2853 | public function admin_components_toggle( $ui ) { |
2854 | 2854 | |
@@ -2992,7 +2992,7 @@ discard block |
||
2992 | 2992 | * |
2993 | 2993 | * @param array $capabilities List of extra capabilities to add. |
2994 | 2994 | * |
2995 | - * @return array |
|
2995 | + * @return string[] |
|
2996 | 2996 | */ |
2997 | 2997 | public function admin_capabilities( $capabilities ) { |
2998 | 2998 |
@@ -105,7 +105,7 @@ |
||
105 | 105 | /** |
106 | 106 | * Validate value on a specific type and set default (if empty) |
107 | 107 | * |
108 | - * @param mixed $offset Used to get value of Array or Variable on Object. |
|
108 | + * @param string $offset Used to get value of Array or Variable on Object. |
|
109 | 109 | * @param mixed|null $default Used to set default value if it doesn't exist. |
110 | 110 | * @param string|null $type Used to force a specific type of variable (allowed: array, object, integer, absint, |
111 | 111 | * boolean). |
@@ -348,7 +348,7 @@ discard block |
||
348 | 348 | } |
349 | 349 | |
350 | 350 | /** |
351 | - * @param $type |
|
351 | + * @param string $type |
|
352 | 352 | * @param $pod |
353 | 353 | * |
354 | 354 | * @return array|bool|int |
@@ -837,7 +837,7 @@ discard block |
||
837 | 837 | * @param $type |
838 | 838 | * @param $name |
839 | 839 | * |
840 | - * @return array|bool|mixed|void |
|
840 | + * @return string |
|
841 | 841 | */ |
842 | 842 | public function object_get( $type, $name ) { |
843 | 843 | |
@@ -893,7 +893,7 @@ discard block |
||
893 | 893 | } |
894 | 894 | |
895 | 895 | /** |
896 | - * @param $type |
|
896 | + * @param string $type |
|
897 | 897 | * @param $name |
898 | 898 | * @param $default_fields |
899 | 899 | * |
@@ -3154,7 +3154,7 @@ discard block |
||
3154 | 3154 | * @param string $meta_value |
3155 | 3155 | * @param bool $unique |
3156 | 3156 | * |
3157 | - * @return bool|int|null |
|
3157 | + * @return null|integer |
|
3158 | 3158 | */ |
3159 | 3159 | public function add_meta( $object_type, $_null = null, $object_id = 0, $meta_key = '', $meta_value = '', $unique = false ) { |
3160 | 3160 | |
@@ -3202,7 +3202,7 @@ discard block |
||
3202 | 3202 | * @param string $meta_value |
3203 | 3203 | * @param string $prev_value |
3204 | 3204 | * |
3205 | - * @return bool|int|null |
|
3205 | + * @return null|integer |
|
3206 | 3206 | */ |
3207 | 3207 | public function update_meta( $object_type, $_null = null, $object_id = 0, $meta_key = '', $meta_value = '', $prev_value = '' ) { |
3208 | 3208 | |
@@ -3386,7 +3386,7 @@ discard block |
||
3386 | 3386 | } |
3387 | 3387 | |
3388 | 3388 | /** |
3389 | - * @param $type |
|
3389 | + * @param string $type |
|
3390 | 3390 | * @param $id |
3391 | 3391 | * @param null $name |
3392 | 3392 | * |
@@ -855,7 +855,7 @@ discard block |
||
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, |
@@ -1206,7 +1206,7 @@ discard block |
||
1206 | 1206 | /** |
1207 | 1207 | * Create a slug from an input string |
1208 | 1208 | * |
1209 | - * @param $orig |
|
1209 | + * @param string $orig |
|
1210 | 1210 | * |
1211 | 1211 | * @param bool $strict |
1212 | 1212 | * |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | } |
165 | 165 | |
166 | 166 | /** |
167 | - * @param $method |
|
167 | + * @param string $method |
|
168 | 168 | * @param $v |
169 | 169 | * @param null $x |
170 | 170 | */ |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | } |
187 | 187 | |
188 | 188 | /** |
189 | - * @param $method |
|
189 | + * @param string $method |
|
190 | 190 | * @param null $x |
191 | 191 | * |
192 | 192 | * @return bool |