Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/Analyser/DirectScopeFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use PHPStan\Reflection\ReflectionProvider;
use PHPStan\Rules\Properties\PropertyReflectionFinder;
use PHPStan\ShouldNotHappenException;
use PHPStan\Type\Type;
use function is_a;

/**
Expand Down Expand Up @@ -45,7 +44,6 @@ public function __construct(
}

/**
* @param array<string, Type> $constantTypes
* @param ExpressionTypeHolder[] $expressionTypes
* @param array<string, ConditionalExpressionHolder[]> $conditionalExpressions
* @param array<string, true> $currentlyAssignedExpressions
Expand All @@ -57,7 +55,6 @@ public function __construct(
public function create(
ScopeContext $context,
bool $declareStrictTypes = false,
array $constantTypes = [],
FunctionReflection|MethodReflection|null $function = null,
?string $namespace = null,
array $expressionTypes = [],
Expand Down Expand Up @@ -93,7 +90,6 @@ public function create(
$context,
$this->phpVersion,
$declareStrictTypes,
$constantTypes,
$function,
$namespace,
$expressionTypes,
Expand Down
4 changes: 0 additions & 4 deletions src/Analyser/LazyScopeFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use PHPStan\Reflection\ReflectionProvider;
use PHPStan\Rules\Properties\PropertyReflectionFinder;
use PHPStan\ShouldNotHappenException;
use PHPStan\Type\Type;
use function is_a;

class LazyScopeFactory implements ScopeFactory
Expand All @@ -39,7 +38,6 @@ public function __construct(
}

/**
* @param array<string, Type> $constantTypes
* @param ExpressionTypeHolder[] $expressionTypes
* @param array<string, ConditionalExpressionHolder[]> $conditionalExpressions
* @param array<string, true> $currentlyAssignedExpressions
Expand All @@ -51,7 +49,6 @@ public function __construct(
public function create(
ScopeContext $context,
bool $declareStrictTypes = false,
array $constantTypes = [],
FunctionReflection|MethodReflection|null $function = null,
?string $namespace = null,
array $expressionTypes = [],
Expand Down Expand Up @@ -87,7 +84,6 @@ public function create(
$context,
$this->container->getByType(PhpVersion::class),
$declareStrictTypes,
$constantTypes,
$function,
$namespace,
$expressionTypes,
Expand Down
Loading