Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Mar 12, 2021
1 parent 4acbc6c commit 6d2cc5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Analyser/Scope.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use PHPStan\Reflection\ParametersAcceptor;
use PHPStan\TrinaryLogic;
use PHPStan\Type\Type;
use PHPStan\Type\TypeWithClassName;

interface Scope extends ClassMemberAccessAnswerer
{
Expand Down Expand Up @@ -70,7 +71,7 @@ public function doNotTreatPhpDocTypesAsCertain(): self;

public function resolveName(Name $name): string;

public function resolveTypeByName(Name $name): Type;
public function resolveTypeByName(Name $name): TypeWithClassName;

/**
* @param mixed $value
Expand Down

0 comments on commit 6d2cc5d

Please sign in to comment.