@@ -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); |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | 'title', |
84 | 84 | ]; |
85 | 85 | |
86 | - Blade::directive('meta', function ($expression) use ($names) { |
|
86 | + Blade::directive('meta', function($expression) use ($names) { |
|
87 | 87 | $meta = ''; |
88 | 88 | $expression = trim($expression, '\"\''); |
89 | 89 | $metaData = metaData($expression); |
@@ -100,22 +100,22 @@ discard block |
||
100 | 100 | } |
101 | 101 | return $meta; |
102 | 102 | }); |
103 | - Blade::directive('keywords', function () { |
|
103 | + Blade::directive('keywords', function() { |
|
104 | 104 | return "<meta name='keywords' content='" . metaKeywords() . "'/>"; |
105 | 105 | }); |
106 | - Blade::directive('url', function () { |
|
106 | + Blade::directive('url', function() { |
|
107 | 107 | return "<meta name='url' content='" . metaUrl() . "'/>"; |
108 | 108 | }); |
109 | - Blade::directive('author', function () { |
|
109 | + Blade::directive('author', function() { |
|
110 | 110 | return "<meta name='author' content='" . metaAuthor() . "'/>"; |
111 | 111 | }); |
112 | - Blade::directive('description', function () { |
|
112 | + Blade::directive('description', function() { |
|
113 | 113 | return "<meta name='description' content='" . metaDescription() . "'/>"; |
114 | 114 | }); |
115 | - Blade::directive('title', function () { |
|
115 | + Blade::directive('title', function() { |
|
116 | 116 | return "<meta name='title' content='" . metaTitle() . "'/>"; |
117 | 117 | }); |
118 | - Blade::directive('openGraph', function ($expression) { |
|
118 | + Blade::directive('openGraph', function($expression) { |
|
119 | 119 | $expression = trim($expression, '\"\''); |
120 | 120 | $meta = ''; |
121 | 121 | $metaOpenGraph = metaOpenGraph($expression); |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | } |
129 | 129 | return $meta; |
130 | 130 | }); |
131 | - Blade::directive('titleDynamic', function () { |
|
131 | + Blade::directive('titleDynamic', function() { |
|
132 | 132 | return metaTitleDynamic(); |
133 | 133 | }); |
134 | 134 | } |