Documentation

PhpdocTypesOrderFixer extends AbstractFixer
in package
implements ConfigurationDefinitionFixerInterface

Interfaces, Classes and Traits

ConfigurationDefinitionFixerInterface

Table of Contents

getDefinition()  : mixed
{@inheritdoc}
getPriority()  : mixed
{@inheritdoc}
isCandidate()  : mixed
{@inheritdoc}
applyFix()  : mixed
createConfigurationDefinition()  : mixed
{@inheritdoc}
sortJoinedTypes()  : string
sortTypes()  : array<string|int, string>

Methods

getPriority()

{@inheritdoc}

public getPriority() : mixed

Must run before PhpdocAlignFixer. Must run after AlignMultilineCommentFixer, CommentToPhpdocFixer, PhpdocAnnotationWithoutDotFixer, PhpdocIndentFixer, PhpdocScalarFixer, PhpdocToCommentFixer, PhpdocTypesFixer.

Return values
mixed

createConfigurationDefinition()

{@inheritdoc}

protected createConfigurationDefinition() : mixed
Return values
mixed

sortJoinedTypes()

private sortJoinedTypes(string $types) : string
Parameters
$types : string
Return values
string

sortTypes()

private sortTypes(array<string|int, string> $types) : array<string|int, string>
Parameters
$types : array<string|int, string>
Return values
array<string|int, string>

Search results