We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents af7ddd6 + 35bbb77 commit cf646b8Copy full SHA for cf646b8
1 file changed
src/Models/CheckQueryReturnTrait.php
@@ -41,6 +41,10 @@ protected function checkQueryReturn($return): void
41
42
protected function checkValidationError(): void
43
{
44
+ if ($this->validation === null) {
45
+ return;
46
+ }
47
+
48
$validationErrors = $this->validation->getErrors();
49
50
if ($validationErrors !== []) {
0 commit comments