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 ee80f5b commit b778acdCopy full SHA for b778acd
src/Responses/Laravel.php
@@ -17,7 +17,7 @@ public static function response(): self
17
return self::get();
18
}
19
20
- public function addError(array $error)
+ public function addError(array $error): self
21
{
22
$this->add(Error::fromArray($error));
23
0 commit comments