Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 23a776d

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

5 files changed

+5
-0
lines changed

‎src/Type/Symfony/ArgumentTypeSpecifyingExtension.php‎

Lines changed: 1 addition & 0 deletions
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‎

Lines changed: 1 addition & 0 deletions
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‎

Lines changed: 1 addition & 0 deletions
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‎

Lines changed: 1 addition & 0 deletions
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‎

Lines changed: 1 addition & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /