Skip to content
Snippets Groups Projects
Commit af335a39 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Add PHPDoc about sanitization of "insertIfNotExist"

Let's document this potential pitfall properly.
parent 263dc70b
No related branches found
No related tags found
Loading
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment