Skip to content

Commit 2cb7436

Browse files
committed
fix(Share): phpcs issue
1 parent 580bd54 commit 2cb7436

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

‎inc/Helpers/Formatting/Share.php‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ function get_share_link( string $name, string $link_to_share, array $share_attri
5454
'href' => 'http://www.facebook.com/sharer.php',
5555
'class' => 'share__link',
5656
],
57-
'icon' => 'social/facebook',
58-
'params' => [
57+
'icon' => 'social/facebook',
58+
'params' => [
5959
'u' => $link_to_share,
6060
],
6161
],
@@ -65,8 +65,8 @@ function get_share_link( string $name, string $link_to_share, array $share_attri
6565
'href' => 'https://twitter.com/intent/tweet',
6666
'class' => 'share__link',
6767
],
68-
'icon' => 'social/x',
69-
'params' => [
68+
'icon' => 'social/x',
69+
'params' => [
7070
'url' => $link_to_share,
7171
],
7272
],
@@ -76,8 +76,8 @@ function get_share_link( string $name, string $link_to_share, array $share_attri
7676
'href' => 'https://www.linkedin.com/shareArticle',
7777
'class' => 'share__link',
7878
],
79-
'icon' => 'social/linkedin',
80-
'params' => [
79+
'icon' => 'social/linkedin',
80+
'params' => [
8181
'url' => $link_to_share,
8282
],
8383
],
@@ -87,8 +87,8 @@ function get_share_link( string $name, string $link_to_share, array $share_attri
8787
'href' => 'https://www.instagram.com/',
8888
'class' => 'share__link',
8989
],
90-
'icon' => 'social/instagram',
91-
'params' => [
90+
'icon' => 'social/instagram',
91+
'params' => [
9292
'url' => $link_to_share,
9393
],
9494
],
@@ -98,8 +98,8 @@ function get_share_link( string $name, string $link_to_share, array $share_attri
9898
'href' => 'https://bsky.app/intent/compose',
9999
'class' => 'share__link',
100100
],
101-
'icon' => 'social/bluesky',
102-
'params' => [
101+
'icon' => 'social/bluesky',
102+
'params' => [
103103
'text' => $link_to_share,
104104
],
105105
],
@@ -109,8 +109,8 @@ function get_share_link( string $name, string $link_to_share, array $share_attri
109109
'href' => 'mailto:',
110110
'class' => 'share__link',
111111
],
112-
'icon' => 'social/email',
113-
'params' => [
112+
'icon' => 'social/email',
113+
'params' => [
114114
'body' => $link_to_share,
115115
],
116116
],

0 commit comments

Comments
 (0)