Skip to content

Commit

Permalink
Remedy deprecated dynamic variable declaration (#354)
Browse files Browse the repository at this point in the history
Co-authored-by: Michal Kleiner <mk@011.nz>
  • Loading branch information
alex-dna and michalkleiner committed Jan 15, 2024
1 parent cf24b84 commit 49a829f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
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

0 comments on commit 49a829f

Please sign in to comment.