Skip to content

ObjectRepository::findBy orderBy should accept SortDirection #523

Description

@dmitryuk

Feature Request

What

\Doctrine\Persistence\ObjectRepository::findBy
php doc for $orderBy argument should accept array<\SortDirection> enum

Why

Since php 8.6 (and symfony/polyfill-php86) provide \SortDirection enum

How

Fix phpdoc for \Doctrine\Persistence\ObjectRepository::findBy

Relates doctrine/orm#11313

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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