Skip to content

Commit 679c78a

Browse files
author
Ricardo Čerljenko
committed
added confirmed rule handler
1 parent 55ff90d commit 679c78a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commands/ExportPostmanCommand.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function handle(): void
8080
$rulesParameter = collect($reflectionMethod->getParameters())
8181
->filter(function ($value, $key) {
8282
$value = $value->getType();
83-
83+
8484
return $value && is_subclass_of($value->getName(), FormRequest::class);
8585
})
8686
->first();
@@ -103,7 +103,7 @@ public function handle(): void
103103
}
104104

105105
if (in_array('confirmed', $rule)) {
106-
$requestRules[] = $fieldName . '_confirmation';
106+
$requestRules[] = $fieldName.'_confirmation';
107107
}
108108
}
109109
}

0 commit comments

Comments
 (0)