10000 Fix code style violations · symfony/symfony@ff852b9 · GitHub
[go: up one dir, main page]

Skip to content

Commit ff852b9

Browse files
committed
Fix code style violations
1 parent 26f9cf1 commit ff852b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/Form/ClearableErrorInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface ClearableErrorInterface
2121
/**
2222
* Removes all the errors of this form.
2323
*
24-
* @param bool $deep Whether to remove errors from child forms as well.
24+
* @param bool $deep whether to remove errors from child forms as well
2525
*
2626
* @return $this
2727
*/

src/Symfony/Component/Form/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ public function getErrors($deep = false, $flatten = true)
800800
*/
801801
public function clearErrors($deep = false)
802802
{
803-
$this->errors = [];
803+
$this->errors = array();
804804

805805
if ($deep) {
806806
// Clear errors from children

0 commit comments

Comments
 (0)
0