Skip to content

Commit 3a6d8cd

Browse files
committed
fix(phpcs): standardizes filter definitions
Ensures consistency by standardizing the way filters are defined, improving code readability and maintainability.
1 parent c6e7735 commit 3a6d8cd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

inc/Helpers/Formatting/Share.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function get_share_link( string $name, string $link_to_share, array $share_attri
9292
'url' => $link_to_share,
9393
],
9494
],
95-
'bluesky' => [
95+
'bluesky' => [
9696
'attributes' => [
9797
'title' => __( 'Share on Bluesky', 'beapi-frontend-framework' ),
9898
'href' => 'https://bsky.app/intent/compose',

inc/Services/Breadcrumb.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ public function register( Service_Container $container ): void {
1818
}
1919

2020
public function boot( Service_Container $container ): void {
21-
add_filter( 'wpseo_breadcrumb_output_wrapper', [ $this, 'replace_breadcrumb_wrapper' ]);
22-
add_filter( 'wpseo_breadcrumb_single_link_wrapper', [ $this, 'replace_breadcrumb_link_wrapper' ]);
21+
add_filter( 'wpseo_breadcrumb_output_wrapper', [ $this, 'replace_breadcrumb_wrapper' ] );
22+
add_filter( 'wpseo_breadcrumb_single_link_wrapper', [ $this, 'replace_breadcrumb_link_wrapper' ] );
2323
add_filter( 'wpseo_breadcrumb_single_link', [ $this, 'replace_breadcrumb_link' ] );
2424
add_filter( 'wpseo_breadcrumb_separator', [ $this, 'remove_breadcrumb_separator' ] );
2525
}

0 commit comments

Comments
 (0)