Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
robbielove committed May 11, 2023
1 parent 3759aa0 commit 990166d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/Traits/HasLobsterName.php
Original file line number Diff line number Diff line change
Expand Up @@ -449,12 +449,13 @@ public function getOnomatopoeiaNameAttribute(): string
$firstLetter = strtolower(substr($this->getNameColumnAttribute(), 0, 1));
$onomatopoeia = $onomatopoeias[$firstLetter] ?? 'Unknown';
return $this->getNameColumnAttribute() . ' the ' . $onomatopoeia;
}/**
* Generate a name in Pig Latin
* e.g. Robbie -> Obbieray
*
* @return string
*/
}
/**
* Generate a name in Pig Latin
* e.g. Robbie -> Obbieray
*
* @return string
*/
public function getInPigLatinNameAttribute(): string
{
$name = $this->getNameColumnAttribute();
Expand Down

0 comments on commit 990166d

Please sign in to comment.