Documentation

DisallowedShortTernaryRule
in package
implements Rule

Tags
implements

\PHPStan\Rules\Rule<\PhpParser\Node\Expr\Ternary>

Interfaces, Classes, Traits and Enums

Rule

Table of Contents

getNodeType()  : string
processNode()  : array<string|int, mixed>

Methods

processNode()

public processNode(Node $node, Scope $scope) : array<string|int, mixed>
Parameters
$node : Node
$scope : Scope
Return values
array<string|int, mixed>

Search results