Skip to content

Commit 7b84f67

Browse files
authored
Merge pull request #47 from andreaselia/tomirons-patch-1
Skip Rule Objects
2 parents 4bce700 + fc9d9b0 commit 7b84f67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/ExportPostmanCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function handle(): void
9797
$rule = preg_split('/\s*\|\s*/', $rule);
9898
}
9999

100-
if (in_array('confirmed', $rule)) {
100+
if (is_array($rule) && in_array('confirmed', $rule)) {
101101
$requestRules[] = $fieldName.'_confirmation';
102102
}
103103
}

0 commit comments

Comments
 (0)