fix phpdoc for entities

This commit is contained in:
Bernhard Posselt 2014-04-20 02:55:21 +02:00
parent 886c5177e7
commit 309aa3bcd2
2 changed files with 9 additions and 4 deletions

View File

@ -31,10 +31,8 @@ namespace OCP\AppFramework\Db;
* @method void setTestId(integer $id) * @method void setTestId(integer $id)
* @method string getName() * @method string getName()
* @method void setName(string $name) * @method void setName(string $name)
* @method string getName()
* @method void setEmail(string $email)
* @method string getEmail() * @method string getEmail()
* @method void setEmailName(string $email) * @method void setEmail(string $email)
* @method string getPreName() * @method string getPreName()
* @method void setPreName(string $preName) * @method void setPreName(string $preName)
*/ */

View File

@ -29,7 +29,14 @@ use \OCP\IDb;
require_once __DIR__ . '/MapperTestUtility.php'; require_once __DIR__ . '/MapperTestUtility.php';
/**
* @method integer getId()
* @method void setId(integer $id)
* @method string getEmail()
* @method void setEmail(string $email)
* @method string getPreName()
* @method void setPreName(string $preName)
*/
class Example extends Entity { class Example extends Entity {
public $preName; public $preName;
public $email; public $email;