This commit is contained in:
James Cole
2017-10-15 14:05:31 +02:00
parent 7ff19a8419
commit 5c0bb34d77
2 changed files with 15 additions and 14 deletions

View File

@@ -215,14 +215,15 @@ class Navigation
}
/**
* @param \Carbon\Carbon $date
* @param \Carbon\Carbon $theDate
* @param $repeatFrequency
*
* @return string
* @throws FireflyException
*/
public function periodShow(Carbon $date, string $repeatFrequency): string
public function periodShow(Carbon $theDate, string $repeatFrequency): string
{
$date = clone $theDate;
$formatMap = [
'1D' => trans('config.specific_day'),
'daily' => trans('config.specific_day'),