Skip to content

parent in Repository #21

Open
Open
@hrach

Description

@hrach

Parent here seems not to correctly work as $this->.

class AffiliateCodeRepository extends Repository
{
    /**
     * @return ICollection<AffiliateCode>
     */
    public function findActive(): ICollection
    {
        return parent::findBy(['active' => true]);
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions