Code clean up.

This commit is contained in:
James Cole
2017-11-15 10:52:29 +01:00
parent aee17221eb
commit 649dca77f5
305 changed files with 1200 additions and 1600 deletions

View File

@@ -176,7 +176,6 @@ class Navigation
if (isset($functionMap[$repeatFreq])) {
$function = $functionMap[$repeatFreq];
$currentEnd->$function();
}
if (!is_null($maxDate) && $currentEnd > $maxDate) {
@@ -221,7 +220,6 @@ class Navigation
}
return $entries;
}
/**
@@ -310,7 +308,6 @@ class Navigation
}
return $format;
}
/**
@@ -357,7 +354,6 @@ class Navigation
}
return $format;
}
/**
@@ -381,7 +377,6 @@ class Navigation
}
return $format;
}
/**
@@ -565,11 +560,7 @@ class Navigation
$start->startOfYear();
return $start;
}
throw new FireflyException(sprintf('updateStartDate cannot handle range "%s"', $range));
}
}