@@ -229,7 +229,7 @@ |
||
229 | 229 | * |
230 | 230 | * @param string $notify_moderator The value of the moderation_notify option OR if the comment is awaiting moderation. |
231 | 231 | * @param int $comment_id Comment ID. |
232 | - * @return boolean Returns false to shortcircuit the execution of wp_notify_moderator |
|
232 | + * @return string|false Returns false to shortcircuit the execution of wp_notify_moderator |
|
233 | 233 | */ |
234 | 234 | function jetpack_notify_moderator( $notify_moderator, $comment_id ) { |
235 | 235 | /* |
@@ -168,7 +168,7 @@ |
||
168 | 168 | /** |
169 | 169 | * Checks to see whether or not the root package is the one that required the autoloader. |
170 | 170 | * |
171 | - * @return bool |
|
171 | + * @return null|boolean |
|
172 | 172 | */ |
173 | 173 | private function isRequiredByRoot() { |
174 | 174 | $package = $this->composer->getPackage(); |
@@ -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 | */ |