@@ -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' ); |
@@ -50,7 +50,6 @@ discard block |
||
50 | 50 | /** |
51 | 51 | * Add options and set defaults to |
52 | 52 | * |
53 | - * @param array $options |
|
54 | 53 | * |
55 | 54 | * @since 2.0 |
56 | 55 | */ |
@@ -132,7 +131,7 @@ discard block |
||
132 | 131 | * |
133 | 132 | * @param array $options |
134 | 133 | * |
135 | - * @return array |
|
134 | + * @return string |
|
136 | 135 | * @since 2.0 |
137 | 136 | */ |
138 | 137 | 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 ) { |