1
0
Fork 0
mirror of https://github.com/archtechx/laravel-seo.git synced 2025-12-13 02:14:04 +00:00

Code quality

This commit is contained in:
Samuel Štancl 2021-05-24 11:25:02 +02:00
parent 0c0cf1ef5a
commit 2dc7b7048e
5 changed files with 32 additions and 27 deletions

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
use ArchTech\SEO\SEOManager;
if (! function_exists('seo')) {
@ -7,7 +9,7 @@ if (! function_exists('seo')) {
{
if (! $key) {
return app('seo');
} else if (is_array($key)) {
} elseif (is_array($key)) {
return app('seo')->set($key);
} else {
return app('seo')->get($key);