Type hint "\Drupal\Core\Entity\EntityInterface" missing

Created on 7 July 2023, over 1 year ago
Updated 11 October 2023, about 1 year ago

Problem/Motivation

FILE: .../d_cont/entity_display_json/src/Controller/EntityDisplayJsonController.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
93 | ERROR | Type hint "\Drupal\Core\Entity\EntityInterface" missing for
| | $entity
--------------------------------------------------------------------------------

Time: 102ms; Memory: 10MB

Steps to reproduce

Execute the command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig entity_display_json/\

Remaining tasks

Patch review

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India urvashi_vora Madhya Pradesh, India

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024