Problem/Motivation
------ ----------------------------------------------------------------------
Line modules/custom/renderviz/src/Renderer.php
------ ----------------------------------------------------------------------
31 Method Drupal\renderviz\Renderer::setCacheContextManager() has no
return typehint specified.
40 Method Drupal\renderviz\Renderer::doRender() has no return typehint
specified.
40 Method Drupal\renderviz\Renderer::doRender() has parameter $elements
with no typehint specified.
40 Method Drupal\renderviz\Renderer::doRender() has parameter
$is_root_call with no typehint specified.
------ ----------------------------------------------------------------------
Comments
Comment #3
grimreaperCan't add PHPDoc in Drupal\renderviz\Renderer::doRender() otherwise PHPCS asks to type $elements as array and then the method is incompatible with parent declaration.