Test Setup Failed
Push — master ( fcf3f1...e22839 )
by Vasyl
02:51
created
config/meta-tags.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
      * Available metatags (for migration, render in blade,...) - uncoment nedded:
11 11
      */
12 12
     'available' => [
13
-        'title' => ['title' => 'Title', 'max' => 65, 'form_type' => 'string',],
14
-        'description' => ['title' => 'Description', 'max' => 300, 'form_type' => 'text',],
15
-        'keywords' => ['title' => 'Keywords',],
13
+        'title' => ['title' => 'Title', 'max' => 65, 'form_type' => 'string', ],
14
+        'description' => ['title' => 'Description', 'max' => 300, 'form_type' => 'text', ],
15
+        'keywords' => ['title' => 'Keywords', ],
16 16
 //        'h1' => ['title' => 'H1', 'max' => 191, 'form_type' => 'string',],
17 17
 
18 18
         /*
Please login to merge, or discard this patch.
database/migrations/create_meta_tags_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('meta_tags', function (Blueprint $table) {
16
+        Schema::create('meta_tags', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             // url path
19 19
             $table->string('path')->nullable();
Please login to merge, or discard this patch.
src/Builder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     public function getForPath(): array
172 172
     {
173 173
         if (isset($this->path)) {
174
-            if (! isset($this->pathModel)) { // Singleton
174
+            if (!isset($this->pathModel)) { // Singleton
175 175
                 $modelClass = config('meta-tags.model', \Fomvasss\LaravelMetaTags\Models\MetaTag::class);
176 176
                 $this->pathModel = $modelClass::wherePath($this->path)->first() ?? 0;
177 177
             }
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
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
             }
Please login to merge, or discard this patch.