mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Apply fixes from StyleCI (#12117)
* Apply fixes from StyleCI * Disable style check
This commit is contained in:
@@ -39,14 +39,14 @@ class ModuleModelObserver
|
||||
{
|
||||
$model = Str::start($model, '\\');
|
||||
// discovery output (but don't install it twice (testing can can do this)
|
||||
if (!$model::getEventDispatcher()->hasListeners('eloquent.created: ' . ltrim('\\', $model))) {
|
||||
if (! $model::getEventDispatcher()->hasListeners('eloquent.created: ' . ltrim('\\', $model))) {
|
||||
$model::observe(new ModuleModelObserver());
|
||||
}
|
||||
}
|
||||
|
||||
public function saving(Eloquent $model)
|
||||
{
|
||||
if (!$model->isDirty()) {
|
||||
if (! $model->isDirty()) {
|
||||
echo '.';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user