Skip to content
Permalink
Browse files

Remove unused property

  • Loading branch information
muglug committed Jan 3, 2020
1 parent 996053c commit fb48db9163a02f27d5b19e83db146caf7a4198ca
Showing with 3 additions and 8 deletions.
  1. +3 −8 src/Psalm/Codebase.php
@@ -130,11 +130,6 @@ class Codebase
*/
public $find_unused_variables = false;

/**
* @var Internal\Codebase\Reflection
*/
private $reflection;

/**
* @var Internal\Codebase\Scanner
*/
@@ -296,21 +291,21 @@ public function __construct(

self::$stubbed_constants = [];

$this->reflection = new Internal\Codebase\Reflection($providers->classlike_storage_provider, $this);
$reflection = new Internal\Codebase\Reflection($providers->classlike_storage_provider, $this);

$this->scanner = new Internal\Codebase\Scanner(
$this,
$config,
$providers->file_storage_provider,
$providers->file_provider,
$this->reflection,
$reflection,
$providers->file_reference_provider,
$progress
);

$this->loadAnalyzer();

$this->functions = new Internal\Codebase\Functions($providers->file_storage_provider, $this->reflection);
$this->functions = new Internal\Codebase\Functions($providers->file_storage_provider, $reflection);

$this->properties = new Internal\Codebase\Properties(
$providers->classlike_storage_provider,

0 comments on commit fb48db9

Please sign in to comment.
You can’t perform that action at this time.