Skip to content

Commit 0497168

Browse files
Bump laravel/pint from 1.13.6 to 1.13.7 (#223)
1 parent 51da055 commit 0497168

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

composer.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Writer/Entity/Category.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function setTemplate(string $template): void
5656
$this->template = $template;
5757
}
5858

59-
public function setSitemap(float $sitemapPriority = null, bool $sitemapIncludedFlag = true, string $sitemapChangeFrequency = 'weekly'): void
59+
public function setSitemap(?float $sitemapPriority = null, bool $sitemapIncludedFlag = true, string $sitemapChangeFrequency = 'weekly'): void
6060
{
6161
if ($sitemapPriority !== null && $sitemapPriority > 1) {
6262
throw new InvalidArgumentException('Sitemap priority must be 1.0 or less');
@@ -70,7 +70,7 @@ public function setSitemap(float $sitemapPriority = null, bool $sitemapIncludedF
7070
$this->sitemapChangeFrequency = $sitemapChangeFrequency;
7171
}
7272

73-
public function setPageAttributes(string $pageTitle = null, string $pageDescription = null, string $pageKeywords = null, string $pageUrl = null): void
73+
public function setPageAttributes(?string $pageTitle = null, ?string $pageDescription = null, ?string $pageKeywords = null, ?string $pageUrl = null): void
7474
{
7575
$this->pageAttributes = [
7676
'page-title' => $pageTitle,

src/Writer/Entity/Product.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function setSearchRank(int $searchRank = 3): void
132132
$this->searchRank = $searchRank;
133133
}
134134

135-
public function setSitemap(float $sitemapPriority = null, bool $sitemapIncludedFlag = true, string $sitemapChangeFrequency = 'weekly'): void
135+
public function setSitemap(?float $sitemapPriority = null, bool $sitemapIncludedFlag = true, string $sitemapChangeFrequency = 'weekly'): void
136136
{
137137
if ($sitemapPriority !== null && $sitemapPriority > 1) {
138138
throw new InvalidArgumentException('Sitemap priority must be 1.0 or less');

0 commit comments

Comments
 (0)