Skip to content

Commit

Permalink
Renamed method according to interface
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarMonterrey committed Aug 4, 2022
1 parent f34547f commit 762d5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mailbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function getName(): string
return $this->name;
}

public function setName(string $name): bool
public function renameTo(string $name): bool
{
$oldFullName = $this->getFullEncodedName();
$newFullName = str_replace($this->name, $name, $oldFullName);
Expand Down

0 comments on commit 762d5f2

Please sign in to comment.