PHP Class PHPStan\Rules\FunctionDefinitionCheck

Datei anzeigen Open project: phpstan/phpstan Class Usage Examples

Public Methods

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

Private Methods

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

Method Details

__construct() public method

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

checkFunction() public method

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
return array