@@ -39,9 +39,9 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public function handle() |
| 41 | 41 | { |
| 42 | - DB::transaction(function () { |
|
| 42 | + DB::transaction(function() { |
|
| 43 | 43 | $students = Student::with('user')->get(); |
| 44 | - $students->each(function ($student) { |
|
| 44 | + $students->each(function($student) { |
|
| 45 | 45 | $user = $student->user; |
| 46 | 46 | if ($user->verified) { |
| 47 | 47 | return; |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | */ |
| 49 | 49 | protected function validator(array $data) |
| 50 | 50 | { |
| 51 | - if (! is_null($data['student_number'])) { |
|
| 51 | + if ( ! is_null($data['student_number'])) { |
|
| 52 | 52 | $data['student_number'] = strtolower($data['student_number']); |
| 53 | 53 | } |
| 54 | 54 | |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | */ |
| 69 | 69 | protected function create(array $data) |
| 70 | 70 | { |
| 71 | - $user = DB::transaction(function () use ($data) { |
|
| 71 | + $user = DB::transaction(function() use ($data) { |
|
| 72 | 72 | $data['student_number'] = strtolower($data['student_number']); |
| 73 | 73 | $user = User::make([ |
| 74 | 74 | 'name' => $data['name'], |