From e7789ed6403d7e338ac128fc0b80f72c94d9f12a Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 4 May 2015 11:12:43 +0200 Subject: [PATCH] SimpleQuery: Rename unused property `table' to `target' `target' is already in use, but was not declared. `table' was declared but not used anywhere. So `table' is now `target'. --- library/Icinga/Data/SimpleQuery.php | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/library/Icinga/Data/SimpleQuery.php b/library/Icinga/Data/SimpleQuery.php index ea8eca3d2..a069e03cd 100644 --- a/library/Icinga/Data/SimpleQuery.php +++ b/library/Icinga/Data/SimpleQuery.php @@ -19,9 +19,11 @@ class SimpleQuery implements QueryInterface protected $ds; /** - * The table you are going to query + * The target you are going to query + * + * @var mixed */ - protected $table; + protected $target; /** * The columns you asked for @@ -101,11 +103,14 @@ class SimpleQuery implements QueryInterface } /** - * Choose a table and the colums you are interested in + * Choose a table and the columns you are interested in * - * Query will return all available columns if none are given here + * Query will return all available columns if none are given here. * - * @return $this + * @param mixed $target + * @param array $fields + * + * @return $this */ public function from($target, array $fields = null) {