Skip to content

TypeError in CategoryRepository.php #83

@nik09

Description

@nik09

Hi there,

i found an issue with the type declaration in the CategoryRepository.

Lines 19 and 77 should have a [] instead of null otherwise this error might occur:

Extcode\CartEvents\Domain\Repository\CategoryRepository::buildSubcategories(): Argument #2 ($parentCategory) must be of type array, null given, called in /var/www/vhosts/gracious-lewin.85-214-17-136.plesk.page/httpdocs/typo3conf/ext/cart_events/Classes/Domain/Repository/CategoryRepository.php on line 19

Used version is 4.1.0

Greetings

Niklas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions