{"data":{"id":"magento2-33120","source":"github-pr","sourceRef":"magento/magento2#33120","title":"getItemsByColumnValue wrong type declaration","pr":{"number":33120,"url":"https://github.com/magento/magento2/pull/33120","author":"yogesh-valiya","mergedAt":"2025-06-18T09:32:39Z","mergeCommit":"ae4d3b69804b0bf0d442346a341ea1bd12585387","headCommit":"a6b5203012f741f4304540bf9de4a58a17eeae4c","baseRef":"2.4-develop","diffSha256":"9db117236dc0ca63d1c73cf34beaeda38867b87aac9f79c39cd7251a7fa3236b"},"issues":[{"number":33070,"url":"https://github.com/magento/magento2/issues/33070","title":"getItemsByColumnValue wrong type declaration","labels":["Area: Framework","Component: Framework/Data","Issue: Confirmed","Priority: P3","Progress: PR in progress","Progress: done","Reproduced on 2.4.x","Triage: Dev.Experience"],"kind":"human"}],"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/framework"],"files":[{"path":"lib/internal/Magento/Framework/Data/Collection.php","change":"modified","package":"magento/framework"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":6,"mergeBatched":false,"excluded":null,"sections":{"description":"Get `null`.","stepsToReproduce":"Call `getItemsByColumnValue([string], [array])` on any collection.","expectedResult":"Get the collection","actualResult":"Get `null`.\n\nComponent: magento-framework\nFile: vendor/magento/framework/Data/Collection.php","source":"issue"},"signatures":[],"labels":{"area":["Framework"],"component":["Framework/Data"],"priority":"P3","severity":null,"reportedOn":[]},"categories":[],"triage":{"model":"@cf/cloudflare/clef","requestHash":"139af7f5e96f7c69d9b948780e9388553f136be9a0af0e01667bd10af4760bb8","isBugfix":0.8198,"changeKind":{"choice":"docs_only","probabilities":{"bugfix":0.4043,"feature":0.0035,"refactor":0.0277,"tests_only":0.0057,"docs_only":0.5434,"dependency":0.0033,"cleanup":0.0121},"confidence":0.3697},"scope":{"score":0.272,"probabilities":{"0":0.7625,"1":0.2029,"2":0.0346},"confidence":0.4357},"risk":{"score":0.274,"probabilities":{"0":0.7646,"1":0.1967,"2":0.0387},"confidence":0.4373},"area":{"choice":"framework","probabilities":{"catalog":0.0118,"checkout":0.0068,"customer":0.0064,"admin":0.0193,"graphql_api":0.0102,"framework":0.9244,"frontend":0.011,"other":0.0101},"confidence":0.8348},"securityRelevant":0.0043,"reportedVersion":{"choice":"2.4.2","probabilities":{"2.4.0":0.0045,"2.4.0-p1":0.0036,"2.4.1":0.0069,"2.4.1-p1":0.0054,"2.4.2":0.6084,"2.4.2-p1":0.0454,"2.4.2-p2":0.0577,"2.4.3":0.0085,"2.4.3-p1":0.0081,"2.4.3-p2":0.0107,"2.4.3-p3":0.0061,"2.4.4":0.0073,"2.4.4-p1":0.0056,"2.4.4-p10":0.0034,"2.4.4-p11":0.0038,"2.4.4-p12":0.0038,"2.4.4-p13":0.0034,"2.4.4-p14":0.0036,"2.4.4-p15":0.0033,"2.4.4-p16":0.003,"2.4.4-p17":0.0032,"2.4.4-p18":0.003,"2.4.4-p2":0.0033,"2.4.4-p3":0.003,"2.4.4-p4":0.0039,"2.4.4-p5":0.0038,"2.4.4-p6":0.004,"2.4.4-p7":0.003,"2.4.4-p8":0.0035,"2.4.4-p9":0.0029,"2.4.5":0.0029,"2.4.5-p1":0.0028,"2.4.5-p10":0.0025,"2.4.5-p11":0.0028,"2.4.5-p12":0.0029,"2.4.5-p13":0.0026,"2.4.5-p14":0.0031,"2.4.5-p15":0.0027,"2.4.5-p16":0.0024,"2.4.5-p17":0.0026,"2.4.5-p2":0.0024,"2.4.5-p3":0.0026,"2.4.5-p4":0.0033,"2.4.5-p5":0.0028,"2.4.5-p6":0.003,"2.4.5-p7":0.003,"2.4.5-p8":0.0027,"2.4.5-p9":0.0023,"2.4.6":0.0033,"2.4.6-p1":0.0033,"2.4.6-p10":0.0031,"2.4.6-p11":0.0029,"2.4.6-p12":0.0033,"2.4.6-p13":0.0031,"2.4.6-p14":0.0037,"2.4.6-p15":0.0026,"2.4.6-p2":0.0026,"2.4.6-p3":0.0028,"2.4.6-p4":0.0038,"2.4.6-p5":0.0031,"2.4.6-p6":0.0036,"2.4.6-p7":0.0033,"2.4.6-p8":0.0033,"2.4.6-p9":0.0024,"2.4.7":0.0025,"2.4.7-p1":0.0025,"2.4.7-p10":0.0028,"2.4.7-p2":0.0027,"2.4.7-p3":0.0035,"2.4.7-p4":0.0048,"2.4.7-p5":0.0037,"2.4.7-p6":0.0039,"2.4.7-p7":0.0034,"2.4.7-p8":0.0031,"2.4.7-p9":0.0025,"2.4.8":0.0028,"2.4.8-p1":0.0026,"2.4.8-p2":0.0033,"2.4.8-p3":0.0035,"2.4.8-p4":0.0036,"2.4.8-p5":0.0034,"2.4.9":0.0039,"unspecified":0.0058},"confidence":0.3692},"backportWorthy":{"score":0.8908,"probabilities":{"0":0.4138,"1":0.2816,"2":0.3046},"confidence":0.015}},"curated":{"title":"Updates the getItemsByColumnValue $value annotation to primitive types","description":"The annotation of getItemsByColumnValue in Framework Data Collection defined the input parameter $value as an array, but the value should be a primitive type, not an array, and IDEs mark primitive arguments as an error. Collection.php now has float|int|null|string for $value in the annotation. The method code is the same.","categories":[],"author":"claude-code/opus-5.5","date":"2026-10-07","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-33120 details"}