Skip to content

Commit ea5b04f

Browse files
Add return type unions to private/internal/final/test methods
1 parent 8703e31 commit ea5b04f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Field/ChoiceFormField.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,11 +252,9 @@ private function buildOptionValue(\DOMElement $node): array
252252
/**
253253
* Checks whether given value is in the existing options.
254254
*
255-
* @internal since Symfony 5.3
256-
*
257-
* @return bool
255+
* @internal
258256
*/
259-
public function containsOption(string $optionValue, array $options)
257+
public function containsOption(string $optionValue, array $options): bool
260258
{
261259
if ($this->validationDisabled) {
262260
return true;

0 commit comments

Comments
 (0)