public function __construct(Broker $broker, \PhpParser\PrettyPrinter\Standard $printer, string $file, bool $declareStrictTypes = false, string $class = null, \PHPStan\Reflection\ParametersAcceptor $function = null, string $namespace = null, array $variablesTypes = [], string $inClosureBindScopeClass = null, Type $inAnonymousFunctionReturnType = null, ClassReflection $anonymousClass = null, Expr $inFunctionCall = null, bool $negated = false, array $moreSpecificTypes = [], array $currentlyAssignedVariables = [])
{
if ($class === '') {
$class = null;
}
if ($namespace === '') {
$namespace = null;
}
$this->broker = $broker;
$this->printer = $printer;
$this->file = $file;
$this->declareStrictTypes = $declareStrictTypes;
$this->class = $class;
$this->function = $function;
$this->namespace = $namespace;
$this->variableTypes = $variablesTypes;
$this->inClosureBindScopeClass = $inClosureBindScopeClass;
$this->inAnonymousFunctionReturnType = $inAnonymousFunctionReturnType;
$this->anonymousClass = $anonymousClass;
$this->inFunctionCall = $inFunctionCall;
$this->negated = $negated;
$this->moreSpecificTypes = $moreSpecificTypes;
$this->currentlyAssignedVariables = $currentlyAssignedVariables;
}