Skip to content

Commit

Permalink
Implement changes from #30 to fix issue in earlier package versions
Browse files Browse the repository at this point in the history
  • Loading branch information
itscursedphil committed Jul 14, 2023
1 parent 24f8479 commit 58b7d85
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Classes/Controller/GraphQLController.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ class GraphQLController extends ActionController
*/
protected $requestLogger;

/**
* A list of IANA media types which are supported by this controller
*
* @see http://www.iana.org/assignments/media-types/index.html
*
* @var string[]
*/
protected $supportedMediaTypes = ['application/json'];

/**
* phpcs:disable SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversableParameterTypeHintSpecification
*
Expand Down

0 comments on commit 58b7d85

Please sign in to comment.