From 1fa8da9b963e99e08c829fe6491e8ccf2d1054e2 Mon Sep 17 00:00:00 2001 From: mattab Date: Tue, 8 Oct 2013 18:24:28 +1300 Subject: Applying phpstorm code style PSR refs #3771 --- core/Archive.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'core/Archive.php') diff --git a/core/Archive.php b/core/Archive.php index b29aef2731..5e09d1be2f 100644 --- a/core/Archive.php +++ b/core/Archive.php @@ -9,10 +9,11 @@ * @package Piwik */ namespace Piwik; + use Piwik\Archive\Parameters; use Piwik\ArchiveProcessor\Rules; -use Piwik\DataAccess\ArchiveSelector; +use Piwik\DataAccess\ArchiveSelector; use Piwik\Period\Range; /** @@ -284,12 +285,12 @@ class Archive * Optionally loads the table recursively, * or optionally fetches a given subtable with $idSubtable * - * @param string $name - * @param int $idSite - * @param string $period - * @param Date $date - * @param string $segment - * @param bool $expanded + * @param string $name + * @param int $idSite + * @param string $period + * @param Date $date + * @param string $segment + * @param bool $expanded * @param int|null $idSubtable * @param int|null $depth * @@ -363,7 +364,7 @@ class Archive $value = $this->uncompress($row['value']); $result->addMetadata($idSite, $periodStr, 'ts_archived', $row['ts_archived']); } - + $resultRow = & $result->get($idSite, $periodStr); $resultRow[$row['name']] = $value; } -- cgit v1.2.3