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:
@@ -11,7 +11,7 @@ class CustomFieldValue extends Model
|
||||
|
||||
protected $dates = [
|
||||
'date_answer',
|
||||
'date_time_answer'
|
||||
'date_time_answer',
|
||||
];
|
||||
|
||||
protected $guarded = [
|
||||
@@ -25,7 +25,7 @@ class CustomFieldValue 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));
|
||||
} else {
|
||||
$this->attributes['time_answer'] = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user