PHP Class PHPStan\Rules\FunctionDefinitionCheck

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

Méthodes publiques

Méthode Description
__construct ( Broker $broker )
checkFunction ( PhpParser\Node\FunctionLike $function, Scope $scope, string $parameterMessage, string $returnMessage ) : array

Private Methods

Méthode Description
checkParametersAcceptor ( PHPStan\Reflection\ParametersAcceptor $parametersAcceptor, string $parameterMessage, string $returnMessage ) : array

Method Details

__construct() public méthode

public __construct ( Broker $broker )
$broker PHPStan\Broker\Broker

checkFunction() public méthode

public checkFunction ( PhpParser\Node\FunctionLike $function, Scope $scope, string $parameterMessage, string $returnMessage ) : array
$function PhpParser\Node\FunctionLike
$scope PHPStan\Analyser\Scope
$parameterMessage string
$returnMessage string
Résultat array