Skip to content

Commit

Permalink
Update LazyReader.php
Browse files Browse the repository at this point in the history
PHP 7.3
  • Loading branch information
dlubitz authored Jun 28, 2021
1 parent bc99e6c commit 1ef3a54
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Classes/Provider/LazyReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,15 @@

class LazyReader implements ProviderInterface
{
protected string $databasePath;
/**
* @var string
*/
protected $databasePath;

protected ?ProviderInterface $provider = null;
/**
* @var ProviderInterface|null
*/
protected $provider = null;

public function __construct($databasePath)
{
Expand All @@ -37,4 +43,4 @@ protected function ensureProviderInitialized()
}
return $this->provider;
}
}
}

0 comments on commit 1ef3a54

Please sign in to comment.