Followed up on some inspections.

This commit is contained in:
James Cole
2016-01-01 21:49:27 +01:00
parent 5eb0e18cae
commit e892c9a824
32 changed files with 374 additions and 571 deletions

View File

@@ -49,6 +49,7 @@ class ReportController extends Controller
$cache = new CacheProperties;
$cache->addProperty('yearInOut');
$cache->addProperty($start);
$cache->addProperty($reportType);
$cache->addProperty($accounts);
$cache->addProperty($end);
if ($cache->has()) {
@@ -115,6 +116,7 @@ class ReportController extends Controller
$cache->addProperty('yearInOutSummarized');
$cache->addProperty($start);
$cache->addProperty($end);
$cache->addProperty($reportType);
$cache->addProperty($accounts);
if ($cache->has()) {
return Response::json($cache->get()); // @codeCoverageIgnore