PHP 클래스 PhpCsFixer\Fixer\ReturnNotation\SimplifiedNullReturnFixer

저자: Graham Campbell ([email protected])
상속: extends PhpCsFixer\AbstractFixer
파일 보기 프로젝트 열기: friendsofphp/php-cs-fixer

공개 메소드들

메소드 설명
fix ( SplFileInfo $file, Tokens $tokens )
getDefinition ( )
getPriority ( )
isCandidate ( Tokens $tokens )
isRisky ( )

비공개 메소드들

메소드 설명
clear ( Tokens $tokens, integer $index ) Clear the return statement located at a given index.
needFixing ( Tokens $tokens, integer $index ) : boolean Does the return statement located at a given index need fixing?
shouldClearToken ( Tokens $tokens, integer $index ) : boolean Should we clear the specific token?

메소드 상세

fix() 공개 메소드

public fix ( SplFileInfo $file, Tokens $tokens )
$file SplFileInfo
$tokens PhpCsFixer\Tokenizer\Tokens

getDefinition() 공개 메소드

public getDefinition ( )

getPriority() 공개 메소드

public getPriority ( )

isCandidate() 공개 메소드

public isCandidate ( Tokens $tokens )
$tokens PhpCsFixer\Tokenizer\Tokens

isRisky() 공개 메소드

public isRisky ( )