Skip to content

Update Doctrine AppBundle:Post syntax to Post::class #7892

Closed
@weaverryan

Description

@weaverryan

I believe this is now the preferred syntax and writing it is "easier" a bit more universally (PhpStorm with the Symfony plugin will autocomplete both, but a normal IDE will only autocomplete the second).

This should be updated everywhere in the 3.1 branch (first, currently-maintained version with a high even PHP version to support this).

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionableClear and specific issues ready for anyone to take them.good first issueIdeal for your first contribution! (some Symfony experience may be required)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions