-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Display templates that have been rendered due this request #25
base: develop
Are you sure you want to change the base?
Conversation
} | ||
} | ||
|
||
return new JsonResponse($templateData, $statusCode); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Returning type \TYPO3\CMS\Core\Http\JsonResponse
but getData()
is declared to return \Psr\Http\Message\ResponseInterface
{ | ||
use LoggerAwareTrait; | ||
|
||
public function getData(ServerRequestInterface $request): JsonResponse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function getData
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Code Climate has analyzed commit 3e58ff6 and detected 6 issues on this pull request. Here's the issue category breakdown:
The test coverage on the diff in this pull request is 81.2% (50% is the threshold). This pull request will bring the total coverage in the repository to 94.3% (-5.7% change). View more on Code Climate. |
No description provided.