From 044fe4fc2a2b6c31bff86176ae8208d8b2dcf8f9 Mon Sep 17 00:00:00 2001 From: Petr Soukup Date: Tue, 27 Oct 2015 13:07:40 +0100 Subject: [PATCH] Fluent: added missing annotations [Closes #191] --- src/Dibi/Fluent.php | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/Dibi/Fluent.php b/src/Dibi/Fluent.php index 2f8d6775..182881b7 100644 --- a/src/Dibi/Fluent.php +++ b/src/Dibi/Fluent.php @@ -11,17 +11,22 @@ namespace Dibi; /** * dibi SQL builder via fluent interfaces. EXPERIMENTAL! * - * @method Fluent select($field) + * @method Fluent select(...$field) * @method Fluent distinct() * @method Fluent from($table) - * @method Fluent where($cond) - * @method Fluent groupBy($field) - * @method Fluent having($cond) - * @method Fluent orderBy($field) + * @method Fluent where(...$cond) + * @method Fluent groupBy(...$field) + * @method Fluent having(...$cond) + * @method Fluent orderBy(...$field) * @method Fluent limit(int $limit) * @method Fluent offset(int $offset) - * @method Fluent leftJoin($table) - * @method Fluent on($cond) + * @method Fluent join(...$table) + * @method Fluent leftJoin(...$table) + * @method Fluent innerJoin(...$table) + * @method Fluent rightJoin(...$table) + * @method Fluent outerJoin(...$table) + * @method Fluent on(...$cond) + * @method Fluent using(...$cond) */ class Fluent implements IDataSource {