@@ -5,9 +5,9 @@ |
||
5 | 5 | 'model' => \Fomvasss\LaravelMetaTags\Models\MetaTag::class, |
6 | 6 | |
7 | 7 | 'available' => [ |
8 | - 'title' => ['title' => 'Title', 'max' => 65, 'form_type' => 'string',], |
|
9 | - 'description' => ['title' => 'Description', 'max' => 300, 'form_type' => 'text',], |
|
10 | - 'keywords' => ['title' => 'Keywords',], |
|
8 | + 'title' => ['title' => 'Title', 'max' => 65, 'form_type' => 'string', ], |
|
9 | + 'description' => ['title' => 'Description', 'max' => 300, 'form_type' => 'text', ], |
|
10 | + 'keywords' => ['title' => 'Keywords', ], |
|
11 | 11 | |
12 | 12 | // 'h1' => ['title' => 'H1', 'max' => 191, 'form_type' => 'string',], |
13 | 13 | // 'og_title' => ['title' => 'OG-title', 'type' => 'og'], |
@@ -201,7 +201,7 @@ |
||
201 | 201 | */ |
202 | 202 | public function getResult(): array |
203 | 203 | { |
204 | - $result = array_filter($this->result, function ($tag) { |
|
204 | + $result = array_filter($this->result, function($tag) { |
|
205 | 205 | if ($tag !== null && $tag !== '') { |
206 | 206 | return $tag; |
207 | 207 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | |
45 | 45 | protected function publishedMigrations() |
46 | 46 | { |
47 | - if (! class_exists('CreateMetaTagsTable')) { |
|
47 | + if (!class_exists('CreateMetaTagsTable')) { |
|
48 | 48 | $timestamp = date('Y_m_d_His', time()); |
49 | 49 | |
50 | 50 | $migrationPath = __DIR__.'/../database/migrations/create_meta_tags_table.php'; |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -if (! function_exists('meta_tag_prepare_path')) { |
|
3 | +if (!function_exists('meta_tag_prepare_path')) { |
|
4 | 4 | /** |
5 | 5 | * @param string|null $url |
6 | 6 | * @return null|string |