[Pkg-owncloud-commits] [owncloud] 09/172: Fix typo & add type

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 886c5177e7a8657b911344734bdd1c330bd18bc5
Author: Lukas Reschke <lukas at statuscode.ch>
Date:   Sun Apr 20 01:09:25 2014 +0200

    Fix typo & add type
---
 lib/public/appframework/db/mapper.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/public/appframework/db/mapper.php b/lib/public/appframework/db/mapper.php
index 4624064..f65a232 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

-- 
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