Minor fixes, coding standards

This commit is contained in:
Ludovic CANDELLIER
2021-11-01 00:50:10 +01:00
parent 0d0e4deb16
commit e97f54f126
47 changed files with 133 additions and 114 deletions

View File

@@ -38,10 +38,8 @@ class ApplicationClient extends Model
public function scopeBySlug($query, $slug)
{
return $query->whereHas(
'application', function ($query) use ($slug) {
$query->bySlug($slug);
}
);
return $query->whereHas('application', function ($query) use ($slug) {
$query->bySlug($slug);
});
}
}