Test Setup Failed
Pull Request — master (#566)
by Mohamed
11:56
created
app/Console/Commands/RemoveDuplicatedGuardians.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -51,16 +51,16 @@
 block discarded – undo
51 51
     }
52 52
 
53 53
     public function delete(){
54
-       try{
55
-           DB::statement("UPDATE  student_guardians t1
54
+        try{
55
+            DB::statement("UPDATE  student_guardians t1
56 56
            INNER JOIN student_guardians t2 
57 57
                set t1.deleted_at=now() 
58 58
            WHERE 
59 59
                t1.created < t2.created AND
60 60
                t1.student_id = t2.student_id AND
61 61
                t1.guardian_id = t1.guardian_id");
62
-       }catch(\Exception $e){
63
-           dd($e);
64
-       }
62
+        }catch(\Exception $e){
63
+            dd($e);
64
+        }
65 65
     }
66 66
 }
Please login to merge, or discard this patch.