Skip to content

Commit 8903888

Browse files
committed
Lint
1 parent 3201927 commit 8903888

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/Http/Controllers/ShowBlogController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function show(Article $article)
2323
abort_unless($article->isPublished() || auth()->user()?->isAdmin(), 404);
2424

2525
// Set SEO metadata for the article
26-
SEOTools::setTitle($article->title . ' - Blog');
26+
SEOTools::setTitle($article->title.' - Blog');
2727
SEOTools::setDescription($article->excerpt ?: 'Read this article on the NativePHP blog.');
2828

2929
// Set OpenGraph metadata

app/Http/Controllers/ShowDocumentationController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ public function __invoke(Request $request, string $platform, string $version, ?s
4848
}
4949
$title = $pageProperties['title'].' - NativePHP '.$platform.' v'.$version;
5050
$description = Arr::exists($pageProperties, 'description') ? $pageProperties['description'] : 'NativePHP documentation for '.$platform.' v'.$version;
51-
51+
5252
SEOTools::setTitle($title);
5353
SEOTools::setDescription($description);
54-
54+
5555
// Set OpenGraph metadata
5656
SEOTools::opengraph()->setTitle($pageProperties['title']);
5757
SEOTools::opengraph()->setDescription($description);
5858
SEOTools::opengraph()->setType('article');
59-
59+
6060
// Set Twitter Card metadata
6161
SEOTools::twitter()->setTitle($pageProperties['title']);
6262
SEOTools::twitter()->setDescription($description);

0 commit comments

Comments
 (0)