@@ -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 ) { |
@@ -48,7 +48,6 @@ discard block |
||
| 48 | 48 | /** |
| 49 | 49 | * Add options and set defaults to |
| 50 | 50 | * |
| 51 | - * @param array $options |
|
| 52 | 51 | * |
| 53 | 52 | * @since 2.0 |
| 54 | 53 | */ |
@@ -118,7 +117,7 @@ discard block |
||
| 118 | 117 | * |
| 119 | 118 | * @param array $options |
| 120 | 119 | * |
| 121 | - * @return array |
|
| 120 | + * @return string |
|
| 122 | 121 | * @since 2.0 |
| 123 | 122 | */ |
| 124 | 123 | public function schema ( $options = 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' ]; |