Skip to content

Commit d5115b4

Browse files
freekmurzegithub-actions[bot]
authored andcommitted
Fix styling
1 parent 3aa65eb commit d5115b4

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/Tags/News.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ public function setOptions(array $options): self
7676

7777
return $this;
7878
}
79-
}
79+
}

src/Tags/Url.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ public function addVideo(string $thumbnailLoc, string $title, string $descriptio
101101
return $this;
102102
}
103103

104-
public function addNews(string $name, string $language, string $title, DateTimeInterface $publicationDate, array $options = []): static {
104+
public function addNews(string $name, string $language, string $title, DateTimeInterface $publicationDate, array $options = []): static
105+
{
105106
$this->news[] = new News($name, $language, $title, $publicationDate, $options);
106107

107108
return $this;
@@ -121,7 +122,7 @@ public function segments(?int $index = null): array|string|null
121122
->values()
122123
->toArray();
123124

124-
if (!is_null($index)) {
125+
if (! is_null($index)) {
125126
return $this->segment($index);
126127
}
127128

tests/NewsTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
$options = [
3030
'access' => News::OPTION_ACCESS_SUB,
31-
'genres' => implode(', ', [News::OPTION_GENRES_BLOG, News::OPTION_GENRES_UG])
31+
'genres' => implode(', ', [News::OPTION_GENRES_BLOG, News::OPTION_GENRES_UG]),
3232
];
3333
$sitemap = Sitemap::create()
3434
->add(

0 commit comments

Comments
 (0)