[Pkg-owncloud-commits] [owncloud] 10/172: fix phpdoc for entities

David Prévot taffit at moszumanska.debian.org
Sun May 18 20:09:34 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 309aa3bcd253d5584ff4b514874ef51a6623a621
Author: Bernhard Posselt <dev at bernhard-posselt.com>
Date:   Sun Apr 20 02:55:21 2014 +0200

    fix phpdoc for entities
---
 tests/lib/appframework/db/EntityTest.php | 4 +---
 tests/lib/appframework/db/MapperTest.php | 9 ++++++++-
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/tests/lib/appframework/db/EntityTest.php b/tests/lib/appframework/db/EntityTest.php
index 346a74c..f674f43 100644
--- a/tests/lib/appframework/db/EntityTest.php
+++ b/tests/lib/appframework/db/EntityTest.php
@@ -31,10 +31,8 @@ namespace OCP\AppFramework\Db;
  * @method void setTestId(integer $id)
  * @method string getName()
  * @method void setName(string $name)
- * @method string getName()
- * @method void setEmail(string $email)
  * @method string getEmail()
- * @method void setEmailName(string $email)
+ * @method void setEmail(string $email)
  * @method string getPreName()
  * @method void setPreName(string $preName)
  */
diff --git a/tests/lib/appframework/db/MapperTest.php b/tests/lib/appframework/db/MapperTest.php
index 114081b..e21edbd 100644
--- a/tests/lib/appframework/db/MapperTest.php
+++ b/tests/lib/appframework/db/MapperTest.php
@@ -29,7 +29,14 @@ use \OCP\IDb;
 
 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 {
 	public $preName;
 	public $email;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list