Completed
Push — master ( cc41fe...e275d9 )
by CodexShaper
04:13
created
src/Http/Controllers/DatabaseController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
                 'name'          => $column['name']])->first()) {
283 283
                 return response()->json([
284 284
                     'success' => false,
285
-                    'errors'  => ["Field name must be unique. " . $column['name'] . " are duplicate"],
285
+                    'errors'  => ["Field name must be unique. ".$column['name']." are duplicate"],
286 286
                 ], 400);
287 287
             }
288 288
 
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
             if (DBM::Template()->where('name', $field['name'])->first()) {
541 541
                 return response()->json([
542 542
                     'success' => false,
543
-                    'errors'  => [" The template name must be unique. " . $field['name'] . " already exist."],
543
+                    'errors'  => [" The template name must be unique. ".$field['name']." already exist."],
544 544
                 ], 400);
545 545
             }
546 546
 
@@ -577,7 +577,7 @@  discard block
 block discarded – undo
577 577
         }
578 578
         return response()->json([
579 579
             'success' => false,
580
-            'errors'  => ['The template '+$request->name . " not found"],
580
+            'errors'  => ['The template '+$request->name." not found"],
581 581
         ], 400);
582 582
     }
583 583
 
Please login to merge, or discard this patch.