8000 minor #26496 [DomCrawler] FormField: remove a useless return statemen… · symfony/symfony@957588a · GitHub
[go: up one dir, main page]

Skip to content

Commit 957588a

Browse files
committed
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 D8F6 some, will be required by reviewers --> | Fixed tickets | n/a <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | n/a Commits ------- 6ca8b4b [DomCrawler] FormField: remove an useless return statement
2 parents ebfcab3 + 6ca8b4b commit 957588a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Symfony/Component/DomCrawler/Field/FormField.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ public function getLabel()
7575
if ($labels->length > 0) {
7676
return $labels->item(0);
7777
}
78-
79-
return;
8078
}
8179

8280
/**

0 commit comments

Comments
 (0)
0