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
getDefinition()
    public
                    getDefinition() : FixerDefinitionInterface
    Return values
FixerDefinitionInterfaceisCandidate()
    public
                    isCandidate(Tokens $tokens) : bool
    Parameters
- $tokens : Tokens
Return values
boolisRisky()
    public
                    isRisky() : bool
    Return values
boolapplyFix()
    protected
                    applyFix(SplFileInfo $file, Tokens $tokens) : void
    Parameters
- $file : SplFileInfo
- $tokens : Tokens
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