Skip to content

Commit

Permalink
Merge pull request #13940 from imami/patch-1
Browse files Browse the repository at this point in the history
Remove useless null initialization
  • Loading branch information
danharrin authored Aug 14, 2024
2 parents 821a6ae + edc287b commit 6f7ff05
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/panels/src/FilamentManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,6 @@ public function getTheme(): Theme

public function getUserAvatarUrl(Model | Authenticatable $user): string
{
$avatar = null;

if ($user instanceof HasAvatar) {
$avatar = $user->getFilamentAvatarUrl();
} else {
Expand Down

0 comments on commit 6f7ff05

Please sign in to comment.