@@ -40,7 +40,7 @@ |
||
40 | 40 | /** |
41 | 41 | * @param array $dateArray |
42 | 42 | * @param array $IDArray |
43 | - * @param $type |
|
43 | + * @param string $type |
|
44 | 44 | */ |
45 | 45 | public function processSwapRequest(array $dateArray, array $IDArray, $type) |
46 | 46 | { |
@@ -42,7 +42,7 @@ |
||
42 | 42 | { |
43 | 43 | $today = Carbon::today()->format('Y-m-d'); |
44 | 44 | |
45 | - if ($today == $this->lastWorked->pivot->last_worked){ |
|
45 | + if ($today == $this->lastWorked->pivot->last_worked) { |
|
46 | 46 | return; |
47 | 47 | } |
48 | 48 |