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

Breadcrumb

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

function PhpdocSingleLineVarFixer::isCandidate

File

vendor/phar-io/manifest/tools/php-cs-fixer.d/PhpdocSingleLineVarFixer.php, line 32

Class

PhpdocSingleLineVarFixer
Main implementation taken from kubawerlos/php-cs-fixer-customere-fixers Copyright (c) 2018 Kuba Werłos

Namespace

PharIo\CSFixer

Code

public function isCandidate(Tokens $tokens) : bool {
    return $tokens->isTokenKindFound(T_DOC_COMMENT);
}
RSS feed
Powered by Drupal