Skip to content

Commit 29c0c93

Browse files
author
Ihor Kh
committed
#39111: Product Collection - addMediaGalleryData calls getSize when the collection maybe or will be loaded (Can use count to avoid an extra DB query)
- Fixed call count instead of getSize if collection is loaded.
1 parent bc67271 commit 29c0c93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Test/Unit/Model/ResourceModel/Product/CollectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2025 Adobe
3+
* Copyright 2015 Adobe
44
* All Rights Reserved.
55
*/
66
declare(strict_types=1);

0 commit comments

Comments
 (0)