From ab32a91a6ed28657ac61c9d64031f3316eeb1202 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 7 May 2014 11:32:06 +0000 Subject: [PATCH] File\Csv: use Fetchable instead of BaseQuery --- library/Icinga/File/Csv.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/library/Icinga/File/Csv.php b/library/Icinga/File/Csv.php index 4873fcf97..ff65c3b2b 100644 --- a/library/Icinga/File/Csv.php +++ b/library/Icinga/File/Csv.php @@ -4,18 +4,15 @@ namespace Icinga\File; -use Icinga\Data\BaseQuery; +use Icinga\Data\Fetchable; class Csv { protected $query; - protected function __construct() - { + protected function __construct() {} - } - - public static function fromQuery(BaseQuery $query) + public static function fromQuery(Fetchable $query) { $csv = new Csv(); $csv->query = $query;