{"data":{"id":"magento2-32496","source":"github-pr","sourceRef":"magento/magento2#32496","title":"Wrong type hint for the protected member $_urlHelper","pr":{"number":32496,"url":"https://github.com/magento/magento2/pull/32496","author":"HenKun","mergedAt":"2025-06-18T09:32:40Z","mergeCommit":"4d07ff39e9e7e12fc430df1bb3d772b48973e138","headCommit":"789b107d8e80ae0d4c13f7d560fd7556179684ee","baseRef":"2.4-develop","diffSha256":"45df49d723e3b7b4506057ee4f266ac15b817da96975a844dee95a42af59dc59"},"issues":[{"number":32503,"url":"https://github.com/magento/magento2/issues/32503","title":"[Issue] Wrong type hint for the protected member $_urlHelper","labels":["Area: Other Developer Tools","Component: Paypal","Issue: Confirmed","Priority: P3","Progress: PR in progress","Progress: done","Reproduced on 2.4.x","Triage: Dev.Experience"],"kind":"pr-derived"}],"fixedIn":"2.4.9","containingTags":["2.4.9"],"reportedOn":null,"codeMatch":{"2.4.6":"clean","2.4.6-p1":"clean","2.4.6-p2":"clean","2.4.6-p3":"clean","2.4.6-p4":"clean","2.4.6-p5":"clean","2.4.6-p6":"clean","2.4.6-p7":"clean","2.4.6-p8":"clean","2.4.6-p9":"clean","2.4.6-p10":"clean","2.4.6-p11":"clean","2.4.6-p12":"clean","2.4.6-p13":"clean","2.4.6-p14":"clean","2.4.6-p15":"clean","2.4.7":"clean","2.4.7-p1":"clean","2.4.7-p2":"clean","2.4.7-p3":"clean","2.4.7-p4":"clean","2.4.7-p5":"clean","2.4.7-p6":"clean","2.4.7-p7":"clean","2.4.7-p8":"clean","2.4.7-p9":"clean","2.4.7-p10":"clean","2.4.8":"clean","2.4.8-p1":"clean","2.4.8-p2":"clean","2.4.8-p3":"clean","2.4.8-p4":"clean","2.4.8-p5":"clean","2.4.9":"conflict"},"affectedVersions":["2.4.6","2.4.6-p1","2.4.6-p2","2.4.6-p3","2.4.6-p4","2.4.6-p5","2.4.6-p6","2.4.6-p7","2.4.6-p8","2.4.6-p9","2.4.6-p10","2.4.6-p11","2.4.6-p12","2.4.6-p13","2.4.6-p14","2.4.6-p15","2.4.7","2.4.7-p1","2.4.7-p2","2.4.7-p3","2.4.7-p4","2.4.7-p5","2.4.7-p6","2.4.7-p7","2.4.7-p8","2.4.7-p9","2.4.7-p10","2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5"],"components":["magento/module-paypal"],"files":[{"path":"app/code/Magento/Paypal/Controller/Express/AbstractExpress.php","change":"modified","package":"magento/module-paypal"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":2,"mergeBatched":true,"excluded":null,"sections":{"description":"Fixes the wrong type hint with the correct one, that is also used in constructor","stepsToReproduce":"- Open the file in PHPStorm\n- See the warning","expectedResult":null,"actualResult":null,"source":"pr"},"signatures":[],"labels":{"area":["Other Developer Tools"],"component":["Paypal"],"priority":"P3","severity":null,"reportedOn":[]},"categories":["Payments"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"bab8f7bd96cc222ad54fdde1f2aeac462ea1059fdb916e4ee742b247c2de6c48","isBugfix":0.4223,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.7554,"feature":0.0053,"refactor":0.1756,"tests_only":0.0102,"docs_only":0.0452,"dependency":0.0083},"confidence":0.5244},"scope":{"score":0.0868,"probabilities":{"0":0.9293,"1":0.0547,"2":0.016},"confidence":0.8002},"risk":{"score":0.1466,"probabilities":{"0":0.8966,"1":0.0603,"2":0.0431},"confidence":0.714},"area":{"choice":"checkout","probabilities":{"catalog":0.0103,"checkout":0.7781,"customer":0.0124,"admin":0.0215,"graphql_api":0.0113,"framework":0.0328,"frontend":0.0254,"other":0.1082},"confidence":0.5654},"securityRelevant":0.0079,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0048,"2.4.0-p1":0.0061,"2.4.1":0.0053,"2.4.1-p1":0.0048,"2.4.2":0.0063,"2.4.2-p1":0.0084,"2.4.2-p2":0.0083,"2.4.3":0.0139,"2.4.3-p1":0.0116,"2.4.3-p2":0.0124,"2.4.3-p3":0.0077,"2.4.4":0.019,"2.4.4-p1":0.0118,"2.4.4-p10":0.0072,"2.4.4-p11":0.0089,"2.4.4-p12":0.0076,"2.4.4-p13":0.0076,"2.4.4-p14":0.0089,"2.4.4-p15":0.0064,"2.4.4-p16":0.0085,"2.4.4-p17":0.0069,"2.4.4-p18":0.0056,"2.4.4-p2":0.0029,"2.4.4-p3":0.0035,"2.4.4-p4":0.0033,"2.4.4-p5":0.0035,"2.4.4-p6":0.0044,"2.4.4-p7":0.0045,"2.4.4-p8":0.0049,"2.4.4-p9":0.0042,"2.4.5":0.0204,"2.4.5-p1":0.0145,"2.4.5-p10":0.008,"2.4.5-p11":0.013,"2.4.5-p12":0.0092,"2.4.5-p13":0.0081,"2.4.5-p14":0.0099,"2.4.5-p15":0.0074,"2.4.5-p16":0.0085,"2.4.5-p17":0.0079,"2.4.5-p2":0.0037,"2.4.5-p3":0.0061,"2.4.5-p4":0.0061,"2.4.5-p5":0.0056,"2.4.5-p6":0.0067,"2.4.5-p7":0.0074,"2.4.5-p8":0.0052,"2.4.5-p9":0.0053,"2.4.6":0.0273,"2.4.6-p1":0.0236,"2.4.6-p10":0.0108,"2.4.6-p11":0.0148,"2.4.6-p12":0.0103,"2.4.6-p13":0.0107,"2.4.6-p14":0.0097,"2.4.6-p15":0.0084,"2.4.6-p2":0.0048,"2.4.6-p3":0.0081,"2.4.6-p4":0.0081,"2.4.6-p5":0.0087,"2.4.6-p6":0.0084,"2.4.6-p7":0.0086,"2.4.6-p8":0.0067,"2.4.6-p9":0.0054,"2.4.7":0.016,"2.4.7-p1":0.0145,"2.4.7-p10":0.0093,"2.4.7-p2":0.0075,"2.4.7-p3":0.0146,"2.4.7-p4":0.0189,"2.4.7-p5":0.0155,"2.4.7-p6":0.0154,"2.4.7-p7":0.0145,"2.4.7-p8":0.0105,"2.4.7-p9":0.0065,"2.4.8":0.0151,"2.4.8-p1":0.0141,"2.4.8-p2":0.0149,"2.4.8-p3":0.0157,"2.4.8-p4":0.0119,"2.4.8-p5":0.0114,"2.4.9":0.0149,"unspecified":0.2122},"confidence":0.0429},"backportWorthy":{"score":0.2352,"probabilities":{"0":0.8218,"1":0.1212,"2":0.057},"confidence":0.5399}},"curated":{"title":"Fixes the wrong type hint of $_urlHelper in the Paypal express controller","description":"The type hint for the protected member $_urlHelper in Paypal Controller Express AbstractExpress.php was wrong, with an Undefined class 'Helper' warning in PHPStorm. It fixes the wrong type hint with the correct one, that is also used in constructor.","categories":["Payments"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-32496 details"}