Add php-cs-fixer to build
This commit is contained in:
@@ -114,7 +114,8 @@ class Acars extends Model
|
||||
{
|
||||
if ($value instanceof Distance) {
|
||||
$this->attributes['distance'] = $value->toUnit(
|
||||
config('phpvms.internal_units.distance'));
|
||||
config('phpvms.internal_units.distance')
|
||||
);
|
||||
} else {
|
||||
$this->attributes['distance'] = $value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user