We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af7ddd6 commit 31ffc40Copy full SHA for 31ffc40
1 file changed
src/Models/CheckQueryReturnTrait.php
@@ -41,6 +41,8 @@ protected function checkQueryReturn($return): void
41
42
protected function checkValidationError(): void
43
{
44
+ $this->validation ??= service('validation');
45
+
46
$validationErrors = $this->validation->getErrors();
47
48
if ($validationErrors !== []) {
0 commit comments