File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ public function isValidAction(Request $request): bool
138138 && is_string ($ request ->get ('action ' ));
139139 }
140140
141- protected function getUseFriendlyErrorMessage (): string
141+ public function getUseFriendlyErrorMessage (): string
142142 {
143143 return 'An error occurs while processing your request. ' ;
144144 }
@@ -206,7 +206,7 @@ protected function messages(): array
206206 return [];
207207 }
208208
209- protected function formatErrors (Validator $ validator ): array
209+ public function formatErrors (Validator $ validator ): array
210210 {
211211 $ errors = [];
212212
@@ -267,7 +267,7 @@ public function unguard(bool $state = true): static
267267 return $ this ;
268268 }
269269
270- protected function dataFromRequest (Request $ request ): array
270+ public function dataFromRequest (Request $ request ): array
271271 {
272272 return (array ) $ request ->get ('data ' );
273273 }
You can’t perform that action at this time.
0 commit comments