Documentation

StaticLambdaFixer extends AbstractFixer
in package

FinalYes

Table of Contents

Methods

getDefinition()  : FixerDefinitionInterface
isCandidate()  : bool
isRisky()  : bool
applyFix()  : void
hasPossibleReferenceToThis()  : bool
Returns 'true' if there is a possible reference to '$this' within the given tokens index range.

Methods

hasPossibleReferenceToThis()

Returns 'true' if there is a possible reference to '$this' within the given tokens index range.

private hasPossibleReferenceToThis(Tokens $tokens, int $startIndex, int $endIndex) : bool
Parameters
$tokens : Tokens
$startIndex : int
$endIndex : int
Return values
bool

        
On this page

Search results