Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur791004 committed Jul 29, 2024
1 parent f10cc76 commit 8c03ef4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions projects/packages/jetpack-mu-wpcom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"@wordpress/i18n": "5.2.0",
"@wordpress/icons": "10.2.0",
"@wordpress/plugins": "7.2.0",
"@wordpress/private-apis": "^1.2.0",
"@wordpress/url": "4.2.0",
"clsx": "2.1.1",
"debug": "4.3.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function permission_callback() {
/**
* Should we show the first post published modal
*
* @return WP_REST_Response
* @return \WP_REST_Response
*/
public function should_show_first_post_published_modal() {
// As we has synced the `has_never_published_post` option to part of atomic sites but we cannot
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ public function get_wpcom_sharing_modal_dismissed() {
/**
* Dismiss the sharing modal
*
* @param WP_REST_Request $request Request object.
* @return WP_REST_Response
* @param \WP_REST_Request $request Request object.
* @return \WP_REST_Response
*/
public function set_wpcom_sharing_modal_dismissed( $request ) {
$params = $request->get_json_params();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function permission_callback() {
/**
* Whether the site has displayed the video upload celebration modal.
*
* @return WP_REST_Response
* @return \WP_REST_Response
*/
public function has_seen_video_celebration_modal() {
// See D69932-code and apps/editing-toolkit/editing-toolkit-plugin/wpcom-block-editor-nux/class-wp-rest-wpcom-block-editor-first-post-published-modal-controller.php.
Expand All @@ -90,8 +90,8 @@ public function has_seen_video_celebration_modal() {
/**
* Update the option for whether the user has seen the video upload celebration modal.
*
* @param WP_REST_Request $request Request object.
* @return WP_REST_Response
* @param \WP_REST_Request $request Request object.
* @return \WP_REST_Response
*/
public function set_has_seen_video_celebration_modal( $request ) {
$params = $request->get_json_params();
Expand Down

0 comments on commit 8c03ef4

Please sign in to comment.