Skip to content

Commit

Permalink
Fix __toString
Browse files Browse the repository at this point in the history
  • Loading branch information
Bozhidar Hristov committed Aug 1, 2017
1 parent de5226d commit 26be26f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/TranslationToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ function ($item) use ($Language) {

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

0 comments on commit 26be26f

Please sign in to comment.