diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-08-20 12:13:04 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-08-20 12:21:07 +0400 |
commit | 34904e642034d10b728b429dcb213344a0157e74 (patch) | |
tree | ec2b732fe86e4720c328b13bc75e3d54949edc7c /core/Period.php | |
parent | ca0bdf191bf1ab85525169242cbfef754855dfec (diff) |
Refactor factory methods into base Factory type for ease of testing.
Diffstat (limited to 'core/Period.php')
-rw-r--r-- | core/Period.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Period.php b/core/Period.php index 868ead7f13..6898020ce7 100644 --- a/core/Period.php +++ b/core/Period.php @@ -8,7 +8,7 @@ */ namespace Piwik; -use Piwik\Period\Factory; +use Piwik\Period\Factory as PeriodFactory; use Piwik\Period\Range; /** @@ -64,7 +64,7 @@ abstract class Period */ public static function factory($period, $date) { - return Factory::build($period, $date); + return PeriodFactory::build($period, $date); } /** |