Skip to content

[BUGFIX] The function errorAction() needs to exists in NewTenantController #184

[BUGFIX] The function errorAction() needs to exists in NewTenantController

[BUGFIX] The function errorAction() needs to exists in NewTenantController #184

Triggered via pull request November 21, 2023 11:27
Status Failure
Total duration 49s
Artifacts

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
phpstan: Classes/Controller/Backend/NewTenantController.php#L446
Return type (string) of method Kitodo\Dlf\Controller\Backend\NewTenantController::errorAction() should be compatible with return type (Psr\Http\Message\ResponseInterface) of method TYPO3\CMS\Extbase\Mvc\Controller\ActionController::errorAction()
phpstan: Classes/Controller/Backend/NewTenantController.php#L448
Method Kitodo\Dlf\Controller\Backend\NewTenantController::errorAction() should return string but returns Psr\Http\Message\ResponseInterface.
phpstan
Ignored error pattern #Return type \(void\) of method Kitodo\\Dlf\\Controller\\Backend\\NewTenantController::errorAction\(\) should be compatible with return type \(Psr\\Http\\Message\\ResponseInterface\) of method TYPO3\\CMS\\Extbase\\Mvc\\Controller\\ActionController::errorAction\(\)# was not matched in reported errors.
phpstan
Process completed with exit code 1.