We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31ffc40 commit 35bbb77Copy full SHA for 35bbb77
src/Models/CheckQueryReturnTrait.php
@@ -41,7 +41,9 @@ protected function checkQueryReturn($return): void
41
42
protected function checkValidationError(): void
43
{
44
- $this->validation ??= service('validation');
+ if ($this->validation === null) {
45
+ return;
46
+ }
47
48
$validationErrors = $this->validation->getErrors();
49
0 commit comments