Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/LetterAvatar.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function setColor($backgroundColor, $foregroundColor)
/**
* @param string $name
*/
private function setName(string $name)
public function setName(string $name)
{
$this->name = $name;
}
Expand All @@ -103,7 +103,7 @@ private function setImageManager(ImageManager $imageManager)
/**
* @param string $shape
*/
private function setShape(string $shape)
public function setShape(string $shape)
{
$this->shape = $shape;
}
Expand All @@ -112,7 +112,7 @@ private function setShape(string $shape)
/**
* @param int $size
*/
private function setSize(int $size)
public function setSize(int $size)
{
$this->size = $size;
}
Expand Down Expand Up @@ -153,7 +153,7 @@ private function generate(): \Intervention\Image\Image
* @param string $name
* @return string
*/
private function getInitials(string $name): string
public function getInitials(string $name): string
{
$nameParts = $this->break_name($name);

Expand All @@ -171,7 +171,7 @@ private function getInitials(string $name): string
* @param string $word
* @return string
*/
private function getFirstLetter(string $word): string
public function getFirstLetter(string $word): string
{
return mb_strtoupper(trim(mb_substr($word, 0, 1, 'UTF-8')));
}
Expand Down