Skip to content

Commit 23a776d

Browse files
committed
Fixes after TypeSpecifier BC break
1 parent c88f96e commit 23a776d

5 files changed

+5
-0
lines changed

src/Type/Symfony/ArgumentTypeSpecifyingExtension.php

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public function specifyTypes(MethodReflection $methodReflection, MethodCall $nod
4444
Helper::createMarkerNode($node->var, $argType, $this->printer),
4545
$argType,
4646
$context,
47+
$scope,
4748
);
4849
}
4950

src/Type/Symfony/InputBagTypeSpecifyingExtension.php

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public function specifyTypes(MethodReflection $methodReflection, MethodCall $nod
3838
new MethodCall($node->var, self::GET_METHOD_NAME, $node->getArgs()),
3939
new NullType(),
4040
$context->negate(),
41+
$scope,
4142
);
4243
}
4344

src/Type/Symfony/OptionTypeSpecifyingExtension.php

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public function specifyTypes(MethodReflection $methodReflection, MethodCall $nod
4444
Helper::createMarkerNode($node->var, $argType, $this->printer),
4545
$argType,
4646
$context,
47+
$scope,
4748
);
4849
}
4950

src/Type/Symfony/RequestTypeSpecifyingExtension.php

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public function specifyTypes(MethodReflection $methodReflection, MethodCall $nod
4545
new MethodCall($node->var, self::GET_METHOD_NAME),
4646
TypeCombinator::removeNull($returnType),
4747
$context,
48+
$scope,
4849
);
4950
}
5051

src/Type/Symfony/ServiceTypeSpecifyingExtension.php

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public function specifyTypes(MethodReflection $methodReflection, MethodCall $nod
4747
Helper::createMarkerNode($node->var, $argType, $this->printer),
4848
$argType,
4949
$context,
50+
$scope,
5051
);
5152
}
5253

0 commit comments

Comments
 (0)