mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 13:41:23 +00:00
Setup pint & run code style fix
This commit is contained in:
@@ -15,7 +15,7 @@ class CustomField extends Model
|
||||
|
||||
protected $dates = [
|
||||
'date_answer',
|
||||
'date_time_answer'
|
||||
'date_time_answer',
|
||||
];
|
||||
|
||||
protected $appends = [
|
||||
@@ -29,7 +29,7 @@ class CustomField extends Model
|
||||
public function setTimeAnswerAttribute($value)
|
||||
{
|
||||
if ($value && $value != null) {
|
||||
$this->attributes['time_answer'] = date("H:i:s", strtotime($value));
|
||||
$this->attributes['time_answer'] = date('H:i:s', strtotime($value));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user