@@ -186,7 +186,7 @@ |
||
186 | 186 | } |
187 | 187 | |
188 | 188 | /** |
189 | - * @param Carbon|string $data_vencimento |
|
189 | + * @param Carbon $data_vencimento |
|
190 | 190 | * @return string |
191 | 191 | */ |
192 | 192 | public function calculaFatorVencimento($data_vencimento) |
@@ -199,7 +199,7 @@ |
||
199 | 199 | break; |
200 | 200 | case ":vencimento": |
201 | 201 | $string = preg_replace("/$attribute" . '\b/', |
202 | - $this->info->getDataVencimentoCalculada()->format('d/m/Y'), $string); |
|
202 | + $this->info->getDataVencimentoCalculada()->format('d/m/Y'), $string); |
|
203 | 203 | break; |
204 | 204 | } |
205 | 205 | } |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | } else |
112 | 112 | { |
113 | 113 | return Carbon::createFromFormat($this->date_format, $this->attributes['data_vencimento']) |
114 | - ->setTime(0, 0, 0); |
|
114 | + ->setTime(0, 0, 0); |
|
115 | 115 | } |
116 | 116 | } |
117 | 117 | |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | } else |
138 | 138 | { |
139 | 139 | return Carbon::createFromFormat($this->date_format, $this->attributes['data_processamento']) |
140 | - ->setTime(0, 0, 0); |
|
140 | + ->setTime(0, 0, 0); |
|
141 | 141 | } |
142 | 142 | } else |
143 | 143 | { |
@@ -47,7 +47,7 @@ |
||
47 | 47 | */ |
48 | 48 | public function getDataVencimentoCalculada() |
49 | 49 | { |
50 | - $data_hoje = Carbon::now()->setTime(0,0,0); |
|
50 | + $data_hoje = Carbon::now()->setTime(0, 0, 0); |
|
51 | 51 | if ($data_hoje->timestamp > $this->getDataVencimentoRecebida()->timestamp) |
52 | 52 | { |
53 | 53 | $dias_para_pagar = $this->getDiasParaPagar(); |