Skip to content

Commit

Permalink
use triple equal sign
Browse files Browse the repository at this point in the history
  • Loading branch information
venix12 committed Dec 26, 2024
1 parent 1cc8f42 commit db1de9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/UserSeasonScore.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function calculate(): void
->first()
?->total_score;

if ($totalScore == null && $totalScoreChild == null) {
if ($totalScore === null && $totalScoreChild == null) {

Check failure on line 47 in app/Models/UserSeasonScore.php

View workflow job for this annotation

GitHub Actions / Lint all

Operator == is disallowed, use === instead.
continue;
}

Expand Down

0 comments on commit db1de9c

Please sign in to comment.