From 72b8b855cc39a8830ba164c5e49a06f36b804993 Mon Sep 17 00:00:00 2001 From: Alies Lapatsin Date: Tue, 20 Feb 2024 00:24:16 +0530 Subject: [PATCH] Apply coding style fixes --- src/Exceptions/InvalidLink.php | 4 +++- src/Generator.php | 4 +++- src/Generators/BaseOutlook.php | 4 +++- src/Generators/Google.php | 4 +++- src/Generators/Ics.php | 4 +++- src/Generators/WebOffice.php | 4 +++- src/Generators/WebOutlook.php | 4 +++- src/Generators/Yahoo.php | 4 +++- src/Link.php | 6 +++++- tests/Generators/GeneratorTestContract.php | 4 +++- tests/Generators/GoogleGeneratorTest.php | 4 +++- tests/Generators/IcsGeneratorTest.php | 4 +++- tests/Generators/WebOfficeGeneratorTest.php | 4 +++- tests/Generators/WebOutlookGeneratorTest.php | 4 +++- tests/Generators/YahooGeneratorTest.php | 4 +++- tests/LinkTest.php | 4 +++- tests/TestCase.php | 4 +++- 17 files changed, 53 insertions(+), 17 deletions(-) diff --git a/src/Exceptions/InvalidLink.php b/src/Exceptions/InvalidLink.php index caff971..0fe01de 100644 --- a/src/Exceptions/InvalidLink.php +++ b/src/Exceptions/InvalidLink.php @@ -1,4 +1,6 @@ -description = $description; + return $this; } @@ -80,6 +83,7 @@ public function description(string $description): static public function address(string $address): static { $this->address = $address; + return $this; } diff --git a/tests/Generators/GeneratorTestContract.php b/tests/Generators/GeneratorTestContract.php index f0a252e..4b8eb70 100644 --- a/tests/Generators/GeneratorTestContract.php +++ b/tests/Generators/GeneratorTestContract.php @@ -1,4 +1,6 @@ -