@@ -493,6 +493,9 @@ |
||
| 493 | 493 | } |
| 494 | 494 | } |
| 495 | 495 | |
| 496 | + /** |
|
| 497 | + * @param string $settings |
|
| 498 | + */ |
|
| 496 | 499 | public function admin ( $options, $settings, $component ) { |
| 497 | 500 | if ( !isset( $this->components[ $component ] ) ) |
| 498 | 501 | wp_die( 'Invalid Component' ); |
@@ -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 ) { |
@@ -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 ) { |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | * |
| 157 | 157 | * @param array $options |
| 158 | 158 | * |
| 159 | - * @return array |
|
| 159 | + * @return string |
|
| 160 | 160 | * @since 2.0 |
| 161 | 161 | */ |
| 162 | 162 | public function schema ( $options = null ) { |
@@ -168,10 +168,9 @@ discard block |
||
| 168 | 168 | /** |
| 169 | 169 | * Change the way the value of the field is displayed with Pods::get |
| 170 | 170 | * |
| 171 | - * @param mixed $value |
|
| 171 | + * @param string $value |
|
| 172 | 172 | * @param string $name |
| 173 | 173 | * @param array $options |
| 174 | - * @param array $fields |
|
| 175 | 174 | * @param array $pod |
| 176 | 175 | * @param int $id |
| 177 | 176 | * |
@@ -935,7 +935,7 @@ |
||
| 935 | 935 | * @param $args |
| 936 | 936 | * @param string $type |
| 937 | 937 | * |
| 938 | - * @return array |
|
| 938 | + * @return string |
|
| 939 | 939 | */ |
| 940 | 940 | public static function object_label_fix( $args, $type = 'post_type' ) { |
| 941 | 941 | |
@@ -661,7 +661,7 @@ discard block |
||
| 661 | 661 | * |
| 662 | 662 | * @param array $options |
| 663 | 663 | * |
| 664 | - * @return array |
|
| 664 | + * @return string|false |
|
| 665 | 665 | * @since 2.0 |
| 666 | 666 | */ |
| 667 | 667 | public function schema ( $options = null ) { |
@@ -681,7 +681,6 @@ discard block |
||
| 681 | 681 | * @param mixed $value |
| 682 | 682 | * @param string $name |
| 683 | 683 | * @param array $options |
| 684 | - * @param array $fields |
|
| 685 | 684 | * @param array $pod |
| 686 | 685 | * @param int $id |
| 687 | 686 | * |
@@ -797,7 +796,7 @@ discard block |
||
| 797 | 796 | * @param int $id |
| 798 | 797 | * |
| 799 | 798 | * @param null $params |
| 800 | - * @return array|bool |
|
| 799 | + * @return string|boolean |
|
| 801 | 800 | * @since 2.0 |
| 802 | 801 | */ |
| 803 | 802 | public function validate ( $value, $name = null, $options = null, $fields = null, $pod = null, $id = null, $params = null ) { |
@@ -1302,7 +1301,7 @@ discard block |
||
| 1302 | 1301 | * |
| 1303 | 1302 | * @param array $object_params Object data parameters |
| 1304 | 1303 | * |
| 1305 | - * @return array|bool Object data |
|
| 1304 | + * @return string Object data |
|
| 1306 | 1305 | */ |
| 1307 | 1306 | public function get_object_data ( $object_params = null ) { |
| 1308 | 1307 | |