summaryrefslogtreecommitdiffstats
path: root/lib/public/appframework
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-04-20 01:09:25 +0200
committerLukas Reschke <lukas@statuscode.ch>2014-04-20 01:09:25 +0200
commit886c5177e7a8657b911344734bdd1c330bd18bc5 (patch)
tree2b96d60320dd6a2fa4318921de3b2483328da351 /lib/public/appframework
parent0c736feaba9ffec4d9fae2f812ba7499a14b1c45 (diff)
downloadnextcloud-server-886c5177e7a8657b911344734bdd1c330bd18bc5.tar.gz
nextcloud-server-886c5177e7a8657b911344734bdd1c330bd18bc5.zip
Fix typo & add type
Diffstat (limited to 'lib/public/appframework')
-rw-r--r--lib/public/appframework/db/mapper.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/public/appframework/db/mapper.php b/lib/public/appframework/db/mapper.php
index 46240649c77..f65a232ed83 100644
--- a/lib/public/appframework/db/mapper.php
+++ b/lib/public/appframework/db/mapper.php
@@ -40,7 +40,7 @@ abstract class Mapper {
private $db;
/**
- * @param Db $db Instance of the Db abstraction layer
+ * @param IDb $db Instance of the Db abstraction layer
* @param string $tableName the name of the table. set this to allow entity
* @param string $entityClass the name of the entity that the sql should be
* mapped to queries without using sql
@@ -79,8 +79,8 @@ abstract class Mapper {
/**
* Creates a new entry in the db from an entity
- * @param Entity $enttiy the entity that should be created
- * @return the saved entity with the set id
+ * @param Entity $entity the entity that should be created
+ * @return Entity the saved entity with the set id
*/
public function insert(Entity $entity){
// get updated fields to save, fields have to be set using a setter to
@@ -124,7 +124,7 @@ abstract class Mapper {
/**
* Updates an entry in the db from an entity
* @throws \InvalidArgumentException if entity has no id
- * @param Entity $enttiy the entity that should be created
+ * @param Entity $entity the entity that should be created
*/
public function update(Entity $entity){
// entity needs an id