Daniel Libonati 8 лет назад
Родитель
Сommit
ac910fa96d
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      Entity/OAuthClient.php

+ 6 - 1
Entity/OAuthClient.php

@@ -18,10 +18,15 @@ class OAuthClient extends BaseClient
      */
     protected $id;
 
-    
+
     public function __construct()
     {
         parent::__construct();
     }
 
+    public function __toString()
+    {
+        return strval($this->id);
+    }
+
 }