diff options
author | sgiehl <stefan@piwik.org> | 2013-03-31 22:26:36 +0400 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2013-03-31 22:26:36 +0400 |
commit | 4b443205b34b7a99aaff87a4dea92dafe003c4f9 (patch) | |
tree | d2ebc3f9457debe2d00837c86c64801ec43e1481 /core/Period | |
parent | 63c8f4f6ddef3d414595d3d264a3266e8b2998b3 (diff) |
fixing some doc blocks
Diffstat (limited to 'core/Period')
-rw-r--r-- | core/Period/Range.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/Period/Range.php b/core/Period/Range.php index 38dd9b350e..c73f10b4fe 100644 --- a/core/Period/Range.php +++ b/core/Period/Range.php @@ -340,8 +340,9 @@ class Piwik_Period_Range extends Piwik_Period /** * Returns the date that is one period before the supplied date. * - * @param string $date The date to get the last date of. - * @param string $period The period to use (either 'day', 'week', 'month', 'year'); + * @param bool|string $date The date to get the last date of. + * @param bool|string $period The period to use (either 'day', 'week', 'month', 'year'); + * * @return array An array with two elements, a string for the date before $date and * a Piwik_Period instance for the period before $date. */ |