diff --git a/src/ReferralRewriterTag.php b/src/ReferralRewriterTag.php index d968baf..572f91e 100755 --- a/src/ReferralRewriterTag.php +++ b/src/ReferralRewriterTag.php @@ -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; @@ -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'); } @@ -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'); } @@ -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'); }