Skip to content

Commit

Permalink
lint: add pint linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Layla Krauss authored and Layla Krauss committed Oct 14, 2024
1 parent 1349ede commit 1c7ad57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Models/DailyView.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ public function scopeStats(Builder $query, ?string $presentationId = null): void
*/
public function scopeForUser(Builder $query): void
{
$query->when(!auth()->user()->isAdministrator(), function($qr){
$qr->whereHas('presentation', function($qrPresn){
$qrPresn->where('user_id',auth()->id());
$query->when(! auth()->user()->isAdministrator(), function ($qr) {
$qr->whereHas('presentation', function ($qrPresn) {
$qrPresn->where('user_id', auth()->id());
});
});
}
Expand Down

0 comments on commit 1c7ad57

Please sign in to comment.