Skip to content

problem with named parameters?#9

Description

@mitelg

I tried the new version and now there is an issue with attributes and probably named parameters? 馃

-> https://github.com/shopware/shopware/blob/trunk/src/Core/Content/MeasurementSystem/DataAbstractionLayer/MeasurementSystemEntity.php#L40
-> https://github.com/shopware/shopware/blob/trunk/src/Core/Framework/DataAbstractionLayer/Attribute/OneToMany.php

PHP Fatal error: Uncaught TypePHP\Exception\TypeError: Shopware\Core\Framework\DataAbstractionLayer\Attribute\OneToMany::__construct(): Argument $onDelete must be of type (bool | array{admin-api: bool, store-api: bool}), Shopware\Core\Framework\DataAbstractionLayer\Attribute\OnDelete given in /home/runner/work/shopware/shopware/src/Core/Content/MeasurementSystem/DataAbstractionLayer/MeasurementSystemEntity.php:40

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions