Apply fixes from StyleCI (#12117)

* Apply fixes from StyleCI

* Disable style check
This commit is contained in:
Jellyfrog
2020-09-21 14:54:51 +02:00
committed by GitHub
parent 8ec9183df5
commit 77c531527c
752 changed files with 6238 additions and 5833 deletions

View File

@@ -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 '.';
}
}