This commit is contained in:
2024-04-15 15:15:08 +08:00
parent 7a4cce7343
commit 67ff141afe
+3
View File
@@ -64,6 +64,9 @@ class Binding implements RequestFilterInterface
{
// TODO: Implement dispatch() method.
$array = [];
if (count($this->rules) < 1) {
return $array;
}
foreach ($this->rules as $key => $rule) {
if (is_string($key)) {
$array[] = $this->getValidator($key, $rule);