From 4d1402501e74ade909ede3993259c2186c016991 Mon Sep 17 00:00:00 2001 From: Bozhidar Hristov Date: Tue, 1 Aug 2017 14:48:19 +0300 Subject: [PATCH] Update Language.php --- src/Entity/Language.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Language.php b/src/Entity/Language.php index 17f76b2..97a7f55 100644 --- a/src/Entity/Language.php +++ b/src/Entity/Language.php @@ -67,6 +67,6 @@ public function setName($name) public function __toString() { - return $this->name; + return (string)$this->name; } }