Skip to content

Commit a12d4e8

Browse files
Add missing @return $this annotations
1 parent 309ac41 commit a12d4e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ClearableErrorsInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ 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
2527
*/
2628
public function clearErrors(bool $deep = false);
2729
}

Form.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -820,8 +820,6 @@ public function getErrors(bool $deep = false, bool $flatten = true)
820820

821821
/**
822822
* {@inheritdoc}
823-
*
824-
* @return $this
825823
*/
826824
public function clearErrors(bool $deep = false): self
827825
{

0 commit comments

Comments
 (0)