Skip to content

getContentType is deprecated #5287

@KDederichs

Description

@KDederichs

API Platform version(s) affected: 3.0.x

Description
Starting Symfony 6.2 Request->getContentType() is deprecated and to be replaced with Request->getContentTypeFormat()

How to reproduce
Use Symfony 6.2

Possible Solution
Replace with the correct method.

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