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 f1d70a9 commit 8e57d1dCopy full SHA for 8e57d1d
Definition.php
@@ -781,7 +781,7 @@ public function setBindings(array $bindings): static
781
*
782
* @return $this
783
*/
784
- public function addError(string|\Closure|Definition $error): static
+ public function addError(string|\Closure|self $error): static
785
{
786
if ($error instanceof self) {
787
$this->errors = array_merge($this->errors, $error->errors);
0 commit comments