Remove unnecessary slash from in_array()

This commit is contained in:
James Cole
2019-06-22 13:09:25 +02:00
parent 940a730827
commit 956ec23d3c
20 changed files with 34 additions and 34 deletions

View File

@@ -96,7 +96,7 @@ trait RuleManagement
$index = 0;
$triggers = [];
$oldInput = $request->old('actions');
if (\is_array($oldInput)) {
if (is_array($oldInput)) {
foreach ($oldInput as $oldAction) {
try {
$triggers[] = view(
@@ -129,7 +129,7 @@ trait RuleManagement
$index = 0;
$triggers = [];
$oldInput = $request->old('triggers');
if (\is_array($oldInput)) {
if (is_array($oldInput)) {
foreach ($oldInput as $oldTrigger) {
try {
$triggers[] = view(