Fix formatting and interfaces in nearly every file
This commit is contained in:
22
app/Models/Observers/SubfleetObserver.php
Normal file
22
app/Models/Observers/SubfleetObserver.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Observers;
|
||||
|
||||
use App\Models\Subfleet;
|
||||
|
||||
/**
|
||||
* Class SubfleetObserver
|
||||
* @package App\Models\Observers
|
||||
*/
|
||||
class SubfleetObserver
|
||||
{
|
||||
/**
|
||||
* @param Subfleet $model
|
||||
*/
|
||||
public function creating(Subfleet $model)
|
||||
{
|
||||
if (!filled($model->ground_handling_multiplier)) {
|
||||
$model->ground_handling_multiplier = 100;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user