Test Setup Failed
Pull Request — master (#537)
by Mohamed
07:44
created
app/Console/Commands/UpdateClassEntriyWithZeroId.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         $students = Institution_class_student::where('institution_class_id',0)->get()->toArray();
45 45
         if(count($students)>0){
46 46
             processParallel(array($this,'process'),$students,15);
47
-        }else{
47
+        } else{
48 48
             echo "all are updated \r\n";
49 49
         }
50 50
     }
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
             Institution_class_student::where('student_id',$student['student_id'])
57 57
             ->update(['institution_class_id' => $institutionClass->id,'education_grade_id' => $student['education_grade_id']]);    
58 58
         echo "updated:" .$student['student_id']; 
59
-        }else{
59
+        } else{
60 60
             Institution_class_student::where('student_id',$student['student_id'])->delete();
61 61
         }
62 62
     }
Please login to merge, or discard this patch.