10000 Remove `return $this` from `ClearableErrorsInterface::clearErrors()` · symfony/symfony@c69e507 · GitHub
[go: up one dir, main page]

Skip to content

Commit c69e507

Browse files
committed
Remove return $this from ClearableErrorsInterface::clearErrors()
1 parent 5c1a657 commit c69e507

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/Symfony/Component/Form/ClearableErrorsInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ interface ClearableErrorsInterface
2222
* Removes all the errors of this form.
2323
*
2424
* @param bool $deep Whether to remove errors from child forms as well
25-
*
26-
* @return $this
2725
*/
2826
public function clearErrors(bool $deep = false);
2927
}

src/Symfony/Component/Form/Form.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -810,8 +810,6 @@ public function clearErrors(bool $deep = false)
810810
}
811811
}
812812
}
813-
814-
return $this;
815813
}
816814

817815
/**

0 commit comments

Comments
 (0)
0