@@ -136,6 +136,9 @@ |
||
136 | 136 | return $this->message; |
137 | 137 | } |
138 | 138 | |
139 | + /** |
|
140 | + * @param string $attribute |
|
141 | + */ |
|
139 | 142 | protected function validate($attribute, $item): array |
140 | 143 | { |
141 | 144 | $validator = Validator::make([$attribute => $item], [$attribute => $this->rule]); |