1
0
Fork 0

Fix binary_operator_spaces errors

This commit is contained in:
Hank Grabowski 2023-02-20 08:05:01 -05:00
commit fcf59dc245
6 changed files with 21 additions and 21 deletions

View file

@ -79,18 +79,18 @@ class InstanceV2 extends BaseDataTransferObject
*/
public function __construct(IManageConfigValues $config, BaseURL $baseUrl, Database $database, array $rules = [])
{
$this->domain = $baseUrl->getHostname();
$this->title = $config->get('config', 'sitename');
$this->version = '2.8.0 (compatible; Friendica ' . App::VERSION . ')';
$this->source_url = null; //not supported yet
$this->description = $config->get('config', 'info');
$this->usage = new Usage($config);
$this->thumbnail = new Thumbnail($baseUrl);
$this->languages = [$config->get('system', 'language')];
$this->configuration = new Configuration();
$this->registrations = new Registrations();
$this->contact = new Contact($database);
$this->rules = $rules;
$this->friendica = new FriendicaExtensions();
$this->domain = $baseUrl->getHostname();
$this->title = $config->get('config', 'sitename');
$this->version = '2.8.0 (compatible; Friendica ' . App::VERSION . ')';
$this->source_url = null; //not supported yet
$this->description = $config->get('config', 'info');
$this->usage = new Usage($config);
$this->thumbnail = new Thumbnail($baseUrl);
$this->languages = [$config->get('system', 'language')];
$this->configuration = new Configuration();
$this->registrations = new Registrations();
$this->contact = new Contact($database);
$this->rules = $rules;
$this->friendica = new FriendicaExtensions();
}
}