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:
parent
0c0cf1ef5a
commit
2dc7b7048e
5 changed files with 32 additions and 27 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue