Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remedy deprecated dynamic variable declaration #354

Merged
merged 10 commits into from
Jan 15, 2024
13 changes: 13 additions & 0 deletions src/Solr/Stores/SolrConfigStore_File.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@
*/
class SolrConfigStore_File implements SolrConfigStore
{
/**
* @var string
*/
public $remote;

/**
* @var string
*/
public $local;

/**
* @param array $config
*/
public function __construct($config)
{
$this->local = $config['path'];
Expand Down
13 changes: 13 additions & 0 deletions src/Solr/Stores/SolrConfigStore_WebDAV.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,19 @@
*/
class SolrConfigStore_WebDAV implements SolrConfigStore
{
/**
* @var string
*/
public $remote;

/**
* @var string
*/
public $url;

/**
* @param array $config
*/
public function __construct($config)
{
$options = Solr::solr_options();
Expand Down