Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudio-Emmolo authored and github-actions[bot] committed Nov 5, 2024
1 parent ecf7b6f commit 1ea4b78
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/ReferralRewriterTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ReferralRewriterTag
/**
* Start function
*/
public function rewrite(string $link, ?string $tag, ?string $subtag, string $additionalQuery = null): string
public function rewrite(string $link, ?string $tag, ?string $subtag, ?string $additionalQuery = null): string
{
$this->link = $link;
$this->tag = $tag;
Expand All @@ -35,11 +35,11 @@ public function rewrite(string $link, ?string $tag, ?string $subtag, string $add
*/
public function rewriteAmazonLink(): string
{
if(!$this->tag) {
if (! $this->tag) {
$this->tag = config('referral-rewriter-tag.amazon.tag');
}

if(!$this->subtag) {
if (! $this->subtag) {
$this->subtag = config('referral-rewriter-tag.amazon.subtag');
}

Expand All @@ -51,11 +51,11 @@ public function rewriteAmazonLink(): string
*/
public function rewriteInstantGamingLink(): string
{
if(!$this->tag) {
if (! $this->tag) {
$this->tag = config('referral-rewriter-tag.instantgaming.tag');
}

if(!$this->subtag) {
if (! $this->subtag) {
$this->subtag = config('referral-rewriter-tag.instantgaming.subtag');
}

Expand All @@ -67,11 +67,11 @@ public function rewriteInstantGamingLink(): string
*/
public function rewriteEbayLink(): string
{
if(!$this->tag) {
if (! $this->tag) {
$this->tag = config('referral-rewriter-tag.ebay.tag');
}

if(!$this->subtag) {
if (! $this->subtag) {
$this->subtag = config('referral-rewriter-tag.ebay.subtag');
}

Expand Down

0 comments on commit 1ea4b78

Please sign in to comment.