PHP Класс PHPStan\Rules\FunctionReturnTypeCheck

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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