Skip to content

Commit

Permalink
[AdminBundle] Add string return typehint to be compatible with symfon…
Browse files Browse the repository at this point in the history
…y 4.3 (#2493)

* [AdminBundle] Add string return typehint to be compatible with symfony 4.3

* [AdminBundle] Add string return typehint to be compatible with symfony 4.3
  • Loading branch information
acrobat authored and Devolicious committed Jul 3, 2019
1 parent f1ffdc8 commit 9c64c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kunstmaan/AdminBundle/Entity/Role.php
Expand Up @@ -54,7 +54,7 @@ public function getRole()
*
* @return string
*/
public function __toString()
public function __toString(): string
{
return (string) $this->role;
}
Expand Down

0 comments on commit 9c64c7f

Please sign in to comment.