Skip to content

Commit 1eba40e

Browse files
committed
bug #61106 Fix @var phpdoc (fabpot)
This PR was squashed before being merged into the 6.4 branch. Discussion ---------- Fix `@var` phpdoc | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no <!-- if yes, also update src/**/CHANGELOG.md --> | Deprecations? | no <!-- if yes, also update UPGRADE-*.md and src/**/CHANGELOG.md --> | Issues | Fix #... <!-- prefix each issue number with "Fix #"; no need to create an issue if none exists, explain below --> | License | MIT refs #61105 Commits ------- 732fbe80006 Fix `@var` phpdoc
2 parents 5411755 + 99ca424 commit 1eba40e

File tree

3 files changed

+55
-55
lines changed

3 files changed

+55
-55
lines changed

Constraints/Composite.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function __construct(mixed $options = null, ?array $groups = null, mixed
5555

5656
$this->initializeNestedConstraints();
5757

58-
/* @var Constraint[] $nestedConstraints */
58+
/** @var Constraint[] $nestedConstraints */
5959
$compositeOption = $this->getCompositeOption();
6060
$nestedConstraints = $this->$compositeOption;
6161

@@ -137,7 +137,7 @@ abstract protected function getCompositeOption(): string;
137137
*/
138138
public function getNestedConstraints(): array
139139
{
140-
/* @var Constraint[] $nestedConstraints */
140+
/** @var Constraint[] $nestedConstraints */
141141
return $this->{$this->getCompositeOption()};
142142
}
143143

0 commit comments

Comments
 (0)