@@ -611,6 +611,7 @@ public static function combineAcceptors(array $acceptors): ExtendedParametersAcc
611611 $ callableOccurred = false ;
612612 $ throwPoints = [];
613613 $ isPure = TrinaryLogic::createNo ();
614+ $ isDeprecated = TrinaryLogic::createNo ();
614615 $ impurePoints = [];
615616 $ invalidateExpressions = [];
616617 $ usedVariables = [];
@@ -627,6 +628,7 @@ public static function combineAcceptors(array $acceptors): ExtendedParametersAcc
627628 $ callableOccurred = true ;
628629 $ throwPoints = array_merge ($ throwPoints , $ acceptor ->getThrowPoints ());
629630 $ isPure = $ isPure ->or ($ acceptor ->isPure ());
631+ $ isDeprecated = $ isDeprecated ->or ($ acceptor ->isDeprecated ());
630632 $ impurePoints = array_merge ($ impurePoints , $ acceptor ->getImpurePoints ());
631633 $ invalidateExpressions = array_merge ($ invalidateExpressions , $ acceptor ->getInvalidateExpressions ());
632634 $ usedVariables = array_merge ($ usedVariables , $ acceptor ->getUsedVariables ());
@@ -729,6 +731,7 @@ public static function combineAcceptors(array $acceptors): ExtendedParametersAcc
729731 null ,
730732 $ throwPoints ,
731733 $ isPure ,
734+ $ isDeprecated ,
732735 $ impurePoints ,
733736 $ invalidateExpressions ,
734737 $ usedVariables ,
@@ -765,6 +768,7 @@ private static function wrapAcceptor(ParametersAcceptor $acceptor): ExtendedPara
765768 TemplateTypeVarianceMap::createEmpty (),
766769 $ acceptor ->getThrowPoints (),
767770 $ acceptor ->isPure (),
771+ $ acceptor ->isDeprecated (),
768772 $ acceptor ->getImpurePoints (),
769773 $ acceptor ->getInvalidateExpressions (),
770774 $ acceptor ->getUsedVariables (),
0 commit comments