From 51f1ba99cc3bd04f06db34c145952494779a6e48 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 15 Oct 2014 10:33:55 +0200 Subject: [PATCH] update from docs --- lib/pq/Query/WriterInterface.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/pq/Query/WriterInterface.php b/lib/pq/Query/WriterInterface.php index 35b6c48..72c5f15 100644 --- a/lib/pq/Query/WriterInterface.php +++ b/lib/pq/Query/WriterInterface.php @@ -22,17 +22,20 @@ interface WriterInterface /** * Returns a list any types associated with the params + * @return array */ function getTypes(); /** * Reset the state of the query writer + * @return \pq\Query\WriterInterface */ function reset(); /** * Write plain SQL to the query - * @param mixed $arg variable list of arguments, arrays will be imploded to a comm separated list + * @param mixed $arg variable list of arguments, arrays will be imploded to a comma separated list + * @return \pq\Query\WriterInterface */ function write(/*...*/); @@ -40,6 +43,7 @@ interface WriterInterface * Remember the parameter with any associated type and return $N to be written to the query string * @param mixed $param a literal parameter, a \pq\Gateway\Table\Cell or a \pq\Query\Expr * @param int $type the oid of the type of the param + * @return \pq\Query\WriterInterface */ function param($param, $type = null); -- 2.30.2