Code cleanup [skip ci]

This commit is contained in:
James Cole 2016-05-20 17:58:10 +02:00
parent a74a646777
commit 78afb771b1

View File

@ -341,9 +341,10 @@ class Navigation
if ($range == '6M') {
if ($start->month >= 7) {
$end->endOfYear();
} else {
$end->startOfYear()->addMonths(6);
return $end;
}
$end->startOfYear()->addMonths(6);
return $end;
}