PHP 클래스 PHPStan\Rules\FunctionReturnTypeCheck

파일 보기 프로젝트 열기: phpstan/phpstan 1 사용 예제들

공개 메소드들

메소드 설명
checkReturnType ( Scope $scope, PHPStan\Type\Type $returnType, PhpParser\Node\Expr $returnValue = null, string $emptyReturnStatementMessage, string $voidMessage, string $typeMismatchMessage ) : array

메소드 상세

checkReturnType() 공개 메소드

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
리턴 array