Allow PHPDoc @method annotations in class headers.

Created on 1 November 2017, about 7 years ago
Updated 15 June 2023, over 1 year ago

Problem/Motivation

If a class implements the magic __call() method, there is no way for an IDE like PhpStorm to properly inspect the code and determine the proper type signature for code completion, and other IDE inspections.

PHPDoc allows the @method annotation to document this.

Drupal Coding Standards should be updated to allow this.

Proposed resolution

TBD about how, where, spacing, etc.

Remaining tasks

TBD

โœจ Feature request
Status

Needs review

Component

Coding Standards

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States mpdonadio Philadelphia/PA/USA (UTC-5)

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024