mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 18:40:12 +00:00
Various code optimalisations.
This commit is contained in:
@@ -326,7 +326,7 @@ class BillController extends Controller
|
||||
|
||||
// find first rule group, or create one:
|
||||
$count = $this->ruleGroupRepos->count();
|
||||
if ($count === 0) {
|
||||
if (0 === $count) {
|
||||
$data = [
|
||||
'title' => (string)trans('firefly.rulegroup_for_bills_title'),
|
||||
'description' => (string)trans('firefly.rulegroup_for_bills_description'),
|
||||
|
Reference in New Issue
Block a user