PHP Class PHPStan\Analyser\TypeSpecifier

Show file Open project: phpstan/phpstan Class Usage Examples

Public Methods

Method Description
__construct ( Standard $printer )
specifyTypesInCondition ( SpecifiedTypes $types, Scope $scope, PhpParser\Node $expr, boolean $negated = false, integer $source = self::SOURCE_UNKNOWN ) : SpecifiedTypes

Method Details

__construct() public method

public __construct ( Standard $printer )
$printer PhpParser\PrettyPrinter\Standard

specifyTypesInCondition() public method

public specifyTypesInCondition ( SpecifiedTypes $types, Scope $scope, PhpParser\Node $expr, boolean $negated = false, integer $source = self::SOURCE_UNKNOWN ) : SpecifiedTypes
$types SpecifiedTypes
$scope Scope
$expr PhpParser\Node
$negated boolean
$source integer
return SpecifiedTypes