Skip to content

Commit 7c74596

Browse files
committed
fix: expose several api as public
1 parent e2225f0 commit 7c74596

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/DataTablesEditor.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)