File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
app/code/Magento/Wishlist Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 66
77namespace Magento \Wishlist \Block ;
88
9+ use Magento \Catalog \Block \Product \Context ;
910use Magento \Catalog \Helper \Image ;
1011use Magento \Catalog \Model \Product \Image \UrlBuilder ;
1112use Magento \Framework \Exception \NoSuchEntityException ;
1516
1617/**
1718 * Wishlist Product Items abstract Block
19+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1820 */
1921abstract class AbstractBlock extends \Magento \Catalog \Block \Product \AbstractProduct
2022{
@@ -53,11 +55,12 @@ abstract class AbstractBlock extends \Magento\Catalog\Block\Product\AbstractProd
5355 private WishlistItemPermissionsCollectionProcessor $ permissionCollectionProcessor ;
5456
5557 /**
56- * @param \Magento\Catalog\Block\Product\ Context $context
58+ * @param Context $context
5759 * @param \Magento\Framework\App\Http\Context $httpContext
5860 * @param array $data
5961 * @param ConfigInterface|null $config
6062 * @param UrlBuilder|null $urlBuilder
63+ * @param WishlistItemPermissionsCollectionProcessor|null $permissionCollectionProcessor
6164 */
6265 public function __construct (
6366 \Magento \Catalog \Block \Product \Context $ context ,
@@ -244,6 +247,7 @@ public function hasDescription($item)
244247 *
245248 * @param string $date
246249 * @deprecated 101.1.1
250+ * @see getFormattedDate
247251 * @return string
248252 */
249253 public function getFormatedDate ($ date )
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ public function __construct(
2424 }
2525
2626 /**
27+ * Remove wishlist items from collection if category permissions in effect
28+ *
2729 * @param Collection $collection
2830 * @return Collection
2931 * @throws \Exception
You can’t perform that action at this time.
0 commit comments