@@ -13,14 +13,14 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - if (! Schema::hasColumn('pages', 'css') ) { |
|
| 17 | - Schema::table('pages', function (Blueprint $table) { |
|
| 16 | + if (!Schema::hasColumn('pages', 'css')) { |
|
| 17 | + Schema::table('pages', function(Blueprint $table) { |
|
| 18 | 18 | $table->longText('css')->nullable()->after('meta'); |
| 19 | 19 | }); |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | - if (! Schema::hasColumn('pages', 'js') ) { |
|
| 23 | - Schema::table('pages', function (Blueprint $table) { |
|
| 22 | + if (!Schema::hasColumn('pages', 'js')) { |
|
| 23 | + Schema::table('pages', function(Blueprint $table) { |
|
| 24 | 24 | $table->longText('js')->nullable()->after('css'); |
| 25 | 25 | }); |
| 26 | 26 | } |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | public function down() |
| 35 | 35 | { |
| 36 | - Schema::table('pages', function (Blueprint $table) { |
|
| 36 | + Schema::table('pages', function(Blueprint $table) { |
|
| 37 | 37 | $table->dropColumn('js'); |
| 38 | 38 | $table->dropColumn('css'); |
| 39 | 39 | }); |
@@ -52,8 +52,8 @@ discard block |
||
| 52 | 52 | $follow = 'nofollow'; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - $meta[$langKey]['robots'] = $index.$follow; |
|
| 56 | - $meta[$langKey]['googlebots'] = $index.$follow; |
|
| 55 | + $meta[$langKey]['robots'] = $index . $follow; |
|
| 56 | + $meta[$langKey]['googlebots'] = $index . $follow; |
|
| 57 | 57 | |
| 58 | 58 | $count = count($request->get('meta_key')[$langKey]); |
| 59 | 59 | for ($i = 0; $i < $count; $i++) { |
@@ -106,8 +106,8 @@ discard block |
||
| 106 | 106 | $follow = 'nofollow'; |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | - $meta[$langKey]['robots'] = $index.$follow; |
|
| 110 | - $meta[$langKey]['googlebots'] = $index.$follow; |
|
| 109 | + $meta[$langKey]['robots'] = $index . $follow; |
|
| 110 | + $meta[$langKey]['googlebots'] = $index . $follow; |
|
| 111 | 111 | |
| 112 | 112 | $count = count($request->get('meta_key')[$langKey]); |
| 113 | 113 | for ($i = 0; $i < $count; $i++) { |