Some minor code cleanup.

This commit is contained in:
James Cole
2016-01-27 21:52:21 +01:00
parent 57a3f20c13
commit 3d69dc786d
8 changed files with 59 additions and 56 deletions

View File

@@ -344,7 +344,7 @@ class CategoryController extends Controller
$row = [clone $start];
$currentSet = $set->filter( // get possibly relevant entries from the big $set
function (Category $category) use ($start) {
return $category->dateFormatted == $start->format("Y-m");
return $category->dateFormatted == $start->format('Y-m');
}
);
/** @var Category $category */
@@ -410,7 +410,7 @@ class CategoryController extends Controller
$row = [clone $start];
$currentSet = $set->filter(// get possibly relevant entries from the big $set
function (Category $category) use ($start) {
return $category->dateFormatted == $start->format("Y-m");
return $category->dateFormatted == $start->format('Y-m');
}
);
/** @var Category $category */