From 1ea4b780914a42fd883ef872cfdaf5631e217a37 Mon Sep 17 00:00:00 2001 From: Claudio-Emmolo Date: Tue, 5 Nov 2024 15:34:07 +0000 Subject: [PATCH 1/2] Fix styling --- src/ReferralRewriterTag.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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'); } From 7a3b60ff53fa593548b5913007985c0cac13c7d7 Mon Sep 17 00:00:00 2001 From: Claudio-Emmolo Date: Tue, 5 Nov 2024 15:34:16 +0000 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 063434b..37cf201 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ All notable changes to `laravel-referral-rewriter-tag` will be documented in this file. +## v1.0.2 - 2024-11-05 + +### What's Changed + +* Bump aglipanci/laravel-pint-action from 2.3.0 to 2.3.1 by @dependabot in https://github.com/The-3Labs-Team/laravel-referral-rewriter-tag/pull/5 +* Bump aglipanci/laravel-pint-action from 2.3.1 to 2.4 by @dependabot in https://github.com/The-3Labs-Team/laravel-referral-rewriter-tag/pull/9 +* Bump dependabot/fetch-metadata from 1.6.0 to 2.2.0 by @dependabot in https://github.com/The-3Labs-Team/laravel-referral-rewriter-tag/pull/11 +* Bump amancevice/setup-code-climate from 1 to 2 by @dependabot in https://github.com/The-3Labs-Team/laravel-referral-rewriter-tag/pull/7 +* Bump ramsey/composer-install from 2 to 3 by @dependabot in https://github.com/The-3Labs-Team/laravel-referral-rewriter-tag/pull/6 +* Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in https://github.com/The-3Labs-Team/laravel-referral-rewriter-tag/pull/4 + +**Full Changelog**: https://github.com/The-3Labs-Team/laravel-referral-rewriter-tag/compare/v1.0.1...v1.0.2 + ## v1.0.1 - 2023-09-22 ### What's Changed