@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | * |
162 | 162 | * @param array $options |
163 | 163 | * |
164 | - * @return array |
|
164 | + * @return string |
|
165 | 165 | * @since 2.0 |
166 | 166 | */ |
167 | 167 | public function schema ( $options = null ) { |
@@ -261,7 +261,7 @@ discard block |
||
261 | 261 | * @param array $pod |
262 | 262 | * @param object $params |
263 | 263 | * |
264 | - * @return mixed|string |
|
264 | + * @return string |
|
265 | 265 | * @since 2.0 |
266 | 266 | */ |
267 | 267 | public function pre_save ( $value, $id = null, $name = null, $options = null, $fields = null, $pod = null, $params = null ) { |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | * |
162 | 162 | * @param array $options |
163 | 163 | * |
164 | - * @return array |
|
164 | + * @return string |
|
165 | 165 | * @since 2.0 |
166 | 166 | */ |
167 | 167 | public function schema ( $options = null ) { |
@@ -261,7 +261,7 @@ discard block |
||
261 | 261 | * @param array $pod |
262 | 262 | * @param object $params |
263 | 263 | * |
264 | - * @return mixed|string |
|
264 | + * @return string |
|
265 | 265 | * @since 2.0 |
266 | 266 | */ |
267 | 267 | public function pre_save ( $value, $id = null, $name = null, $options = null, $fields = null, $pod = null, $params = null ) { |
@@ -2172,7 +2172,7 @@ discard block |
||
2172 | 2172 | * |
2173 | 2173 | * @param PodsUI $ui |
2174 | 2174 | * |
2175 | - * @return bool |
|
2175 | + * @return boolean|null |
|
2176 | 2176 | */ |
2177 | 2177 | public function admin_components_toggle ( PodsUI $ui ) { |
2178 | 2178 | $component = $_GET[ 'id' ]; |
@@ -2305,7 +2305,7 @@ discard block |
||
2305 | 2305 | * |
2306 | 2306 | * @param $capabilities List of extra capabilities to add |
2307 | 2307 | * |
2308 | - * @return array |
|
2308 | + * @return string[] |
|
2309 | 2309 | */ |
2310 | 2310 | public function admin_capabilities ( $capabilities ) { |
2311 | 2311 | $pods = pods_api()->load_pods( array( 'type' => array( 'settings', 'post_type', 'taxonomy' ), 'fields' => false, 'table_info' => false ) ); |
@@ -2646,7 +2646,7 @@ discard block |
||
2646 | 2646 | * |
2647 | 2647 | * @param array $pod |
2648 | 2648 | * |
2649 | - * @return bool |
|
2649 | + * @return boolean|null |
|
2650 | 2650 | */ |
2651 | 2651 | protected function restable_pod( $pod ) { |
2652 | 2652 | $type = $pod[ 'type' ]; |
@@ -882,7 +882,6 @@ discard block |
||
882 | 882 | * @param mixed $value |
883 | 883 | * @param string $name |
884 | 884 | * @param array $options |
885 | - * @param array $fields |
|
886 | 885 | * @param array $pod |
887 | 886 | * @param int $id |
888 | 887 | * @param array $traverse |
@@ -924,7 +923,6 @@ discard block |
||
924 | 923 | * @param mixed $value |
925 | 924 | * @param string $name |
926 | 925 | * @param array $options |
927 | - * @param array $fields |
|
928 | 926 | * @param array $pod |
929 | 927 | * @param int $id |
930 | 928 | * @param array $traverse |
@@ -1295,9 +1293,6 @@ discard block |
||
1295 | 1293 | /** |
1296 | 1294 | * Run a method from a Field Type's class |
1297 | 1295 | * |
1298 | - * @param string $field_type Field Type indentifier |
|
1299 | - * @param string $method Method name |
|
1300 | - * @param mixed $arg More arguments |
|
1301 | 1296 | * |
1302 | 1297 | * @return mixed |
1303 | 1298 | * @access public |