Add PHPDoc about sanitization of "insertIfNotExist"

Let's document this potential pitfall properly.
This commit is contained in:
Lukas Reschke 2014-10-17 11:06:49 +02:00
parent 263dc70bfd
commit af335a39f1
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class Adapter {
/**
* insert the @input values when they do not exist yet
* @param string $table name
* @param array $input key->value pairs
* @param array $input key->value pair, key has to be sanitized properly
* @return int count of inserted rows
*/
public function insertIfNotExist($table, $input) {