Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
enricobattocchi committed Mar 16, 2024
1 parent 7741865 commit 7c55a41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/watchers/link-actions-watcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ public function register_hooks() {
/**
* Adds vars to the removable query args.
*
* @param array $removable_query_args Array of query args keys.
* @param array<string> $removable_query_args Array of query args keys.
*
* @return array The updated array of query args keys.
* @return array<string> The updated array of query args keys.
*/
public function add_removable_query_args( $removable_query_args ) {
if ( \is_array( $removable_query_args ) ) {
Expand Down Expand Up @@ -113,7 +113,6 @@ public function add_rewrite_and_republish_block_editor_notice() {
\__(
'You can now start rewriting your post in this duplicate of the original post. If you click "Republish", this rewritten post will replace the original post.',
'duplicate-post'

),
'status' => 'warning',
'isDismissible' => true,
Expand Down
4 changes: 2 additions & 2 deletions src/watchers/republished-post-watcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ public function register_hooks() {
/**
* Adds vars to the removable query args.
*
* @param array $removable_query_args Array of query args keys.
* @param array<string> $removable_query_args Array of query args keys.
*
* @return array The updated array of query args keys.
* @return array<string> The updated array of query args keys.
*/
public function add_removable_query_args( $removable_query_args ) {
if ( \is_array( $removable_query_args ) ) {
Expand Down

0 comments on commit 7c55a41

Please sign in to comment.