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

Grimreaper created an issue. See original summary.

grimreaper’s picture

Assigned: grimreaper » Unassigned
Status: Active » Fixed

Can'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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.