Skip to content

Commit

Permalink
Fix missing return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Spomky committed Jan 18, 2024
1 parent 99985fa commit fa4d2c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dto/Shortcut.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ final class Shortcut

public function getName(): string|TranslatableInterface
{
$this->provideTranslation($this->name);
return $this->provideTranslation($this->name);
}

#[SerializedName('short_name')]
public function getShortName(): string|TranslatableInterface
{
$this->provideTranslation($this->shortName);
return $this->provideTranslation($this->shortName);
}

public function getDescription(): string|TranslatableInterface
Expand Down

0 comments on commit fa4d2c4

Please sign in to comment.