Setup pint & run code style fix

This commit is contained in:
gdarko
2024-01-29 04:46:01 -06:00
parent 8de34efd8c
commit 4ab92473e9
406 changed files with 1616 additions and 2026 deletions

View File

@@ -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));
}
}