@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | $this->mergeConfigFrom( |
| 54 | 54 | __DIR__ . '/config/seo-manager.php', 'seo-manager' |
| 55 | 55 | ); |
| 56 | - $this->app->bind('seomanager', function () { |
|
| 56 | + $this->app->bind('seomanager', function() { |
|
| 57 | 57 | return new SeoManager(); |
| 58 | 58 | }); |
| 59 | 59 | $this->app->alias('seomanager', SeoManager::class); |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | */ |
| 76 | 76 | public function registerBladeDirectives() |
| 77 | 77 | { |
| 78 | - Blade::directive('meta', function ($expression) { |
|
| 78 | + Blade::directive('meta', function($expression) { |
|
| 79 | 79 | $meta = ''; |
| 80 | 80 | $expression = trim($expression, '\"\''); |
| 81 | 81 | $metaData = metaData($expression); |
@@ -88,22 +88,22 @@ discard block |
||
| 88 | 88 | } |
| 89 | 89 | return $meta; |
| 90 | 90 | }); |
| 91 | - Blade::directive('keywords', function () { |
|
| 91 | + Blade::directive('keywords', function() { |
|
| 92 | 92 | return "<meta name='keywords' content='" . metaKeywords() . "'/>"; |
| 93 | 93 | }); |
| 94 | - Blade::directive('url', function () { |
|
| 94 | + Blade::directive('url', function() { |
|
| 95 | 95 | return "<meta name='url' content='" . metaUrl() . "'/>"; |
| 96 | 96 | }); |
| 97 | - Blade::directive('author', function () { |
|
| 97 | + Blade::directive('author', function() { |
|
| 98 | 98 | return "<meta name='author' content='" . metaAuthor() . "'/>"; |
| 99 | 99 | }); |
| 100 | - Blade::directive('description', function () { |
|
| 100 | + Blade::directive('description', function() { |
|
| 101 | 101 | return "<meta name='description' content='" . metaDescription() . "'/>"; |
| 102 | 102 | }); |
| 103 | - Blade::directive('title', function () { |
|
| 103 | + Blade::directive('title', function() { |
|
| 104 | 104 | return "<meta name='title' content='" . metaTitle() . "'/>"; |
| 105 | 105 | }); |
| 106 | - Blade::directive('openGraph', function ($expression) { |
|
| 106 | + Blade::directive('openGraph', function($expression) { |
|
| 107 | 107 | $expression = trim($expression, '\"\''); |
| 108 | 108 | $meta = ''; |
| 109 | 109 | $metaOpenGraph = metaOpenGraph($expression); |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | } |
| 117 | 117 | return $meta; |
| 118 | 118 | }); |
| 119 | - Blade::directive('titleDynamic', function () { |
|
| 119 | + Blade::directive('titleDynamic', function() { |
|
| 120 | 120 | return metaTitleDynamic(); |
| 121 | 121 | }); |
| 122 | 122 | } |