We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 51479b0 + fbab614 commit d51b739Copy full SHA for d51b739
1 file changed
app/Rules/ValidPpdJson.php
@@ -81,8 +81,9 @@ public function __invoke($attribute, $value, $fail)
81
}
82
83
foreach ($option['values'] as $value_key => $o) {
84
- $fail('validation.json_ppd')->translate(['opt' => 'VALUE_KEY']);
85
if (! is_string($value_key) && ! is_int($value_key)) {
+ $fail('validation.json_ppd')->translate(['opt' => 'VALUE_KEY - '.$value_key]);
86
+
87
return;
88
89
0 commit comments