@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | $now = Carbon::now(); |
21 | 21 | |
22 | 22 | return $countdown->from($attribute) |
23 | - ->to($now)->get(); |
|
23 | + ->to($now)->get(); |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | /** |
@@ -36,6 +36,6 @@ discard block |
||
36 | 36 | $now = Carbon::now(); |
37 | 37 | |
38 | 38 | return $countdown->from($now) |
39 | - ->to($attribute)->get(); |
|
39 | + ->to($attribute)->get(); |
|
40 | 40 | } |
41 | 41 | } |
@@ -92,11 +92,11 @@ |
||
92 | 92 | $this->delta = $this->from->diffInSeconds($this->to); |
93 | 93 | |
94 | 94 | $this->computeYears() |
95 | - ->computeWeeks() |
|
96 | - ->computeDays() |
|
97 | - ->computeHours() |
|
98 | - ->computeMinutes() |
|
99 | - ->computeSeconds(); |
|
95 | + ->computeWeeks() |
|
96 | + ->computeDays() |
|
97 | + ->computeHours() |
|
98 | + ->computeMinutes() |
|
99 | + ->computeSeconds(); |
|
100 | 100 | |
101 | 101 | return $this; |
102 | 102 | } |