Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sokil committed Jan 29, 2022
1 parent ad46ea5 commit 1b8741a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,8 @@
#[2.0.3] - 2022-01-29
## Changed
- `ViberApiResponseError` throws when error response returned
### Added
- `__toString` to value objects

#[2.0.1] - 2022-01-23
## Changed
Expand Down
5 changes: 5 additions & 0 deletions src/Entity/Role.php
Expand Up @@ -25,4 +25,9 @@ public function getName(): string
{
return $this->name;
}

public function __toString()
{
return $this->name;
}
}
5 changes: 5 additions & 0 deletions src/Entity/SubscriberId.php
Expand Up @@ -24,4 +24,9 @@ public function getValue(): string
{
return $this->value;
}

public function __toString()
{
return $this->value;
}
}

0 comments on commit 1b8741a

Please sign in to comment.