minor #26496 [DomCrawler] FormField: remove a useless return statement (dunglas)

This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes #26496).

Discussion
----------

[DomCrawler] FormField: remove a useless return statement

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | n/a   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | n/a

Commits
-------

6ca8b4beeb [DomCrawler] FormField: remove an useless return statement
This commit is contained in:
Fabien Potencier 2018-03-13 07:30:05 -05:00
commit 957588a12e

View File

@ -75,8 +75,6 @@ abstract class FormField
if ($labels->length > 0) {
return $labels->item(0);
}
return;
}
/**