Skip to content

Commit

Permalink
Fix stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
joelbutcher committed Feb 20, 2023
1 parent c470b4f commit 4ddd095
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stubs/app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ public function profilePhotoUrl(): Attribute
{
return filter_var($this->profile_photo_path, FILTER_VALIDATE_URL)
? Attribute::get(fn () => $this->profile_photo_path)
: ($this->getPhotoUrl()->get)();
: $this->getPhotoUrl();
}
}
2 changes: 1 addition & 1 deletion stubs/app/Models/UserWithTeams.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ public function profilePhotoUrl(): Attribute
{
return filter_var($this->profile_photo_path, FILTER_VALIDATE_URL)
? Attribute::get(fn () => $this->profile_photo_path)
: ($this->getPhotoUrl()->get)();
: $this->getPhotoUrl();
}
}

0 comments on commit 4ddd095

Please sign in to comment.