Documentation

PhpdocNoEmptyReturnFixer extends AbstractFixer
in package

FinalYes
Tags
author

Graham Campbell hello@gjcampbell.co.uk

Table of Contents

Methods

getDefinition()  : FixerDefinitionInterface
getPriority()  : int
{@inheritdoc}
isCandidate()  : bool
applyFix()  : void
fixAnnotation()  : void
Remove `return void` or `return null` annotations.

Methods

getPriority()

{@inheritdoc}

public getPriority() : int

Must run before NoEmptyPhpdocFixer, PhpdocAlignFixer, PhpdocOrderFixer, PhpdocSeparationFixer, PhpdocTrimFixer. Must run after AlignMultilineCommentFixer, CommentToPhpdocFixer, PhpdocIndentFixer, PhpdocScalarFixer, PhpdocToCommentFixer, PhpdocTypesFixer, VoidReturnFixer.

Return values
int

        
On this page

Search results