Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DisallowStringExpressionPropertyFetchSniff.php

function DisallowStringExpressionPropertyFetchSniff::register

*

Return value

array<int, (int|string)>

Overrides Sniff::register

File

vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Classes/DisallowStringExpressionPropertyFetchSniff.php, line 23

Class

DisallowStringExpressionPropertyFetchSniff

Namespace

SlevomatCodingStandard\Sniffs\Classes

Code

public function register() : array {
    return [
        T_OBJECT_OPERATOR,
    ];
}
RSS feed
Powered by Drupal