Skip to content

Commit

Permalink
Remove unnecessary PHPDoc from internal scope factories
Browse files Browse the repository at this point in the history
  • Loading branch information
herndlm committed Dec 8, 2022
1 parent 170b00f commit cb75108
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
8 changes: 0 additions & 8 deletions src/Analyser/DirectInternalScopeFactory.php
Expand Up @@ -39,14 +39,6 @@ public function __construct(
{
}

/**
* @param array<string, ExpressionTypeHolder> $expressionTypes
* @param array<string, ExpressionTypeHolder> $nativeExpressionTypes
* @param array<string, ConditionalExpressionHolder[]> $conditionalExpressions
* @param array<(FunctionReflection|MethodReflection)> $inFunctionCallsStack
* @param array<string, true> $currentlyAssignedExpressions
* @param array<string, true> $currentlyAllowedUndefinedExpressions
*/
public function create(
ScopeContext $context,
bool $declareStrictTypes = false,
Expand Down
2 changes: 1 addition & 1 deletion src/Analyser/InternalScopeFactory.php
Expand Up @@ -15,7 +15,7 @@ interface InternalScopeFactory
* @param array<string, ConditionalExpressionHolder[]> $conditionalExpressions
* @param array<string, true> $currentlyAssignedExpressions
* @param array<string, true> $currentlyAllowedUndefinedExpressions
* @param array<MethodReflection|FunctionReflection> $inFunctionCallsStack
* @param array<FunctionReflection|MethodReflection> $inFunctionCallsStack
*/
public function create(
ScopeContext $context,
Expand Down
8 changes: 0 additions & 8 deletions src/Analyser/LazyInternalScopeFactory.php
Expand Up @@ -34,14 +34,6 @@ public function __construct(
$this->explicitMixedInUnknownGenericNew = $this->container->getParameter('featureToggles')['explicitMixedInUnknownGenericNew'];
}

/**
* @param array<string, ExpressionTypeHolder> $expressionTypes
* @param array<string, ExpressionTypeHolder> $nativeExpressionTypes
* @param array<string, ConditionalExpressionHolder[]> $conditionalExpressions
* @param array<string, true> $currentlyAssignedExpressions
* @param array<string, true> $currentlyAllowedUndefinedExpressions
* @param array<(FunctionReflection|MethodReflection)> $inFunctionCallsStack
*/
public function create(
ScopeContext $context,
bool $declareStrictTypes = false,
Expand Down

0 comments on commit cb75108

Please sign in to comment.