Completed
Push — master ( 5af970...ffb252 )
by CodexShaper
04:49
created
src/Http/Controllers/DatabaseController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -260,7 +260,7 @@
 block discarded – undo
260 260
                 'name'          => $column['name']])->first()) {
261 261
                 return response()->json([
262 262
                     'success' => false,
263
-                    'errors'  => ["Field name must be unique. " . $column['name'] . " are duplicate"],
263
+                    'errors'  => ["Field name must be unique. ".$column['name']." are duplicate"],
264 264
                 ], 400);
265 265
             }
266 266
 
Please login to merge, or discard this patch.
src/Traits/Template.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             if (DBM::Template()->where('name', $field['name'])->first()) {
40 40
                 return response()->json([
41 41
                     'success' => false,
42
-                    'errors'  => [" The template name must be unique. " . $field['name'] . " already exist."],
42
+                    'errors'  => [" The template name must be unique. ".$field['name']." already exist."],
43 43
                 ], 400);
44 44
             }
45 45
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         }
77 77
         return response()->json([
78 78
             'success' => false,
79
-            'errors'  => ['The template '+$request->name . " not found"],
79
+            'errors'  => ['The template '+$request->name." not found"],
80 80
         ], 400);
81 81
     }
82 82
 }
Please login to merge, or discard this patch.