@@ -22,7 +22,6 @@ discard block |
||
22 | 22 | * @see $this-get_cpt_supports, $this->get_metaboxes, $this->create_test_object |
23 | 23 | * |
24 | 24 | * @param string $cptslug a custom post type ID. |
25 | - * @param boolean $true Whether or not to echo. Optional. |
|
26 | 25 | * @param int $num Optional. Number of posts to create. |
27 | 26 | */ |
28 | 27 | public function create_post_type_content( $cptslug, $echo = false, $num = '' ){ |
@@ -209,6 +208,9 @@ discard block |
||
209 | 208 | } |
210 | 209 | |
211 | 210 | |
211 | + /** |
|
212 | + * @param string $cptslug |
|
213 | + */ |
|
212 | 214 | private function get_metaboxes( $cptslug ){ |
213 | 215 | |
214 | 216 | if ( class_exists( 'CMB2_Bootstrap_212', false ) ) { |
@@ -323,7 +323,7 @@ |
||
323 | 323 | * Return a date in the future (up to 60 days out) in the format prescribed. |
324 | 324 | * |
325 | 325 | * @param string $format PHP Date format. |
326 | - * @return mixed Date in the format requested. |
|
326 | + * @return string Date in the format requested. |
|
327 | 327 | */ |
328 | 328 | public static function date( $format ){ |
329 | 329 |