Passed
Push — master ( fd21f2...66fc67 )
by Karel
08:29
created
database/migrations/2031_00_00_000000_add_css_js_column_to_pages_table.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,14 +13,14 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         });
Please login to merge, or discard this patch.
src/Chuck/PageRepository.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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++) {
Please login to merge, or discard this patch.