메소드 | 설명 | |
---|---|---|
__construct ( array $sureTypes = [], array $sureNotTypes = [] ) | ||
addSureNotType ( PhpParser\Node $expr, string $exprString, PHPStan\Type\Type $type ) : self | ||
addSureType ( PhpParser\Node $expr, string $exprString, PHPStan\Type\Type $type ) : self | ||
getSureNotTypes ( ) : array | ||
getSureTypes ( ) : array |
public __construct ( array $sureTypes = [], array $sureNotTypes = [] ) | ||
$sureTypes | array | |
$sureNotTypes | array |
public addSureNotType ( PhpParser\Node $expr, string $exprString, PHPStan\Type\Type $type ) : self | ||
$expr | PhpParser\Node | |
$exprString | string | |
$type | PHPStan\Type\Type | |
리턴 | self |
public addSureType ( PhpParser\Node $expr, string $exprString, PHPStan\Type\Type $type ) : self | ||
$expr | PhpParser\Node | |
$exprString | string | |
$type | PHPStan\Type\Type | |
리턴 | self |