mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-10 06:32:05 +00:00
Code cleanup
This commit is contained in:
@@ -42,7 +42,7 @@ class Categories implements MapperInterface
|
||||
|
||||
/** @var Category $category */
|
||||
foreach ($result as $category) {
|
||||
$categoryId = intval($category->id);
|
||||
$categoryId = (int)$category->id;
|
||||
$list[$categoryId] = $category->name;
|
||||
}
|
||||
asort($list);
|
||||
|
Reference in New Issue
Block a user