Skip to content

Commit

Permalink
Fixes after TypeSpecifier BC break
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Sep 13, 2024
1 parent c88f96e commit 23a776d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Type/Symfony/ArgumentTypeSpecifyingExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public function specifyTypes(MethodReflection $methodReflection, MethodCall $nod
Helper::createMarkerNode($node->var, $argType, $this->printer),
$argType,
$context,
$scope,
);
}

Expand Down
1 change: 1 addition & 0 deletions src/Type/Symfony/InputBagTypeSpecifyingExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public function specifyTypes(MethodReflection $methodReflection, MethodCall $nod
new MethodCall($node->var, self::GET_METHOD_NAME, $node->getArgs()),
new NullType(),
$context->negate(),
$scope,
);
}

Expand Down
1 change: 1 addition & 0 deletions src/Type/Symfony/OptionTypeSpecifyingExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public function specifyTypes(MethodReflection $methodReflection, MethodCall $nod
Helper::createMarkerNode($node->var, $argType, $this->printer),
$argType,
$context,
$scope,
);
}

Expand Down
1 change: 1 addition & 0 deletions src/Type/Symfony/RequestTypeSpecifyingExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public function specifyTypes(MethodReflection $methodReflection, MethodCall $nod
new MethodCall($node->var, self::GET_METHOD_NAME),
TypeCombinator::removeNull($returnType),
$context,
$scope,
);
}

Expand Down
1 change: 1 addition & 0 deletions src/Type/Symfony/ServiceTypeSpecifyingExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public function specifyTypes(MethodReflection $methodReflection, MethodCall $nod
Helper::createMarkerNode($node->var, $argType, $this->printer),
$argType,
$context,
$scope,
);
}

Expand Down

0 comments on commit 23a776d

Please sign in to comment.