Skip to content

Commit

Permalink
refactor: Update MultiAvatar.php, solving a SonarCloud bug (#7183)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignacio0407 authored Mar 16, 2024
1 parent d3013d1 commit c71e128
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Models/MultiAvatar.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ class MultiAvatar

public function __invoke($avatarId, $sansEnv, $ver)
{
$svgCode = $this->generate(strval($avatarId), $sansEnv, $ver);

return $svgCode;
return $this->generate(strval($avatarId), $sansEnv, $ver);
}

public function getFinal($part, $partV, $theme, $themes, $sP)
Expand Down

0 comments on commit c71e128

Please sign in to comment.