Skip to content

syntax error in Model/Api/ProductGalleryManagement.php #71

@chelevich

Description

@chelevich

magento2.4 setup:di:compile triggers the following error:

Deprecated Functionality: Unparenthesized a ? b : c ? d : e is deprecated. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in /var/www/html/vendor/cloudinary/cloudinary-magento2/Model/Api/ProductGalleryManagement.php on line 326

And the line looks really strange, like comma is missing:
(isset($item["sku"])) ? $item["sku"] : null(isset($item["publicId"])) ? $item["publicId"] : null,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions