PHP Class PHPStan\Rules\FunctionReturnTypeCheck

Afficher le fichier Open project: phpstan/phpstan Class Usage Examples

Méthodes publiques

Méthode Description
checkReturnType ( Scope $scope, PHPStan\Type\Type $returnType, PhpParser\Node\Expr $returnValue = null, string $emptyReturnStatementMessage, string $voidMessage, string $typeMismatchMessage ) : array

Method Details

checkReturnType() public méthode

public checkReturnType ( Scope $scope, PHPStan\Type\Type $returnType, PhpParser\Node\Expr $returnValue = null, string $emptyReturnStatementMessage, string $voidMessage, string $typeMismatchMessage ) : array
$scope PHPStan\Analyser\Scope
$returnType PHPStan\Type\Type
$returnValue PhpParser\Node\Expr
$emptyReturnStatementMessage string
$voidMessage string
$typeMismatchMessage string
Résultat array