Skip to content

Commit

Permalink
Apply coding style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alies-dev committed Feb 19, 2024
1 parent 9524544 commit 72b8b85
Show file tree
Hide file tree
Showing 17 changed files with 53 additions and 17 deletions.
4 changes: 3 additions & 1 deletion src/Exceptions/InvalidLink.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Spatie\CalendarLinks\Exceptions;

Expand Down
4 changes: 3 additions & 1 deletion src/Generator.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Spatie\CalendarLinks;

Expand Down
4 changes: 3 additions & 1 deletion src/Generators/BaseOutlook.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Spatie\CalendarLinks\Generators;

Expand Down
4 changes: 3 additions & 1 deletion src/Generators/Google.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Spatie\CalendarLinks\Generators;

Expand Down
4 changes: 3 additions & 1 deletion src/Generators/Ics.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Spatie\CalendarLinks\Generators;

Expand Down
4 changes: 3 additions & 1 deletion src/Generators/WebOffice.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Spatie\CalendarLinks\Generators;

Expand Down
4 changes: 3 additions & 1 deletion src/Generators/WebOutlook.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Spatie\CalendarLinks\Generators;

Expand Down
4 changes: 3 additions & 1 deletion src/Generators/Yahoo.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Spatie\CalendarLinks\Generators;

Expand Down
6 changes: 5 additions & 1 deletion src/Link.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Spatie\CalendarLinks;

Expand Down Expand Up @@ -73,13 +75,15 @@ public static function createAllDay(string $title, \DateTimeInterface $from, int
public function description(string $description): static
{
$this->description = $description;

return $this;
}

/** Set the address of the Event. */
public function address(string $address): static
{
$this->address = $address;

return $this;
}

Expand Down
4 changes: 3 additions & 1 deletion tests/Generators/GeneratorTestContract.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Spatie\CalendarLinks\Tests\Generators;

Expand Down
4 changes: 3 additions & 1 deletion tests/Generators/GoogleGeneratorTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Spatie\CalendarLinks\Tests\Generators;

Expand Down
4 changes: 3 additions & 1 deletion tests/Generators/IcsGeneratorTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Spatie\CalendarLinks\Tests\Generators;

Expand Down
4 changes: 3 additions & 1 deletion tests/Generators/WebOfficeGeneratorTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Spatie\CalendarLinks\Tests\Generators;

Expand Down
4 changes: 3 additions & 1 deletion tests/Generators/WebOutlookGeneratorTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Spatie\CalendarLinks\Tests\Generators;

Expand Down
4 changes: 3 additions & 1 deletion tests/Generators/YahooGeneratorTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Spatie\CalendarLinks\Tests\Generators;

Expand Down
4 changes: 3 additions & 1 deletion tests/LinkTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Spatie\CalendarLinks\Tests;

Expand Down
4 changes: 3 additions & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

namespace Spatie\CalendarLinks\Tests;

Expand Down

0 comments on commit 72b8b85

Please sign in to comment.