@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | * @param array $post_types - other post types. |
194 | 194 | * |
195 | 195 | * @see hook 'rest_api_allowed_post_types' |
196 | - * @return array |
|
196 | + * @return string[] |
|
197 | 197 | */ |
198 | 198 | public function allow_rest_api_types( $post_types ) { |
199 | 199 | $post_types[] = self::$post_type_plan; |
@@ -254,7 +254,7 @@ discard block |
||
254 | 254 | * (because it requires a plan upgrade or Stripe connection), and the |
255 | 255 | * button is a child of a Premium Content block. |
256 | 256 | * |
257 | - * @param WP_Block $block Recurring Payments block instance. |
|
257 | + * @param WP_Block|null $block Recurring Payments block instance. |
|
258 | 258 | * |
259 | 259 | * @return boolean |
260 | 260 | */ |