Some code cleanup.

This commit is contained in:
James Cole
2018-07-13 15:50:42 +02:00
parent d872484607
commit 2b4088c5f7
32 changed files with 76 additions and 84 deletions

View File

@@ -293,7 +293,7 @@ class RuleController extends Controller
public function index()
{
/** @var User $user */
$user = auth()->user();
$user = auth()->user();
$this->createDefaultRuleGroup();
$this->createDefaultRule();
$ruleGroups = $this->ruleGroupRepos->getRuleGroupsWithRules($user);