]> git.mxchange.org Git - friendica.git/commitdiff
Add missing spaces after colons for function parameters for style check reasons
authorHank Grabowski <hankgrabowski@gmail.com>
Mon, 20 Feb 2023 18:31:04 +0000 (13:31 -0500)
committerHank Grabowski <hankgrabowski@gmail.com>
Mon, 20 Feb 2023 18:31:04 +0000 (13:31 -0500)
src/Module/Api/Mastodon/InstanceV2.php

index c1dd8314f0b43a3552dfae1de33149d999f3282d..647d292c73613cabc529407b81224b5b6609eaf8 100644 (file)
@@ -104,7 +104,7 @@ class InstanceV2 extends BaseApi
                ));
        }
 
-       private function buildConfigurationInfo():InstanceEntity\Configuration
+       private function buildConfigurationInfo(): InstanceEntity\Configuration
        {
                $statuses_config = new InstanceEntity\StatusesConfig((int)$this->config->get(
                        'config',
@@ -119,7 +119,7 @@ class InstanceV2 extends BaseApi
                );
        }
 
-       private function buildContactInfo():InstanceEntity\Contact
+       private function buildContactInfo(): InstanceEntity\Contact
        {
                $email         = implode(',', User::getAdminEmailList());
                $administrator = User::getFirstAdmin();
@@ -137,7 +137,7 @@ class InstanceV2 extends BaseApi
                return new InstanceEntity\Contact($email, $account);
        }
 
-       private function buildFriendicaExtensionInfo():InstanceEntity\FriendicaExtensions
+       private function buildFriendicaExtensionInfo(): InstanceEntity\FriendicaExtensions
        {
                return new InstanceEntity\FriendicaExtensions(
                        App::VERSION,
@@ -146,7 +146,7 @@ class InstanceV2 extends BaseApi
                );
        }
 
-       private function buildRegistrationsInfo():InstanceEntity\Registrations
+       private function buildRegistrationsInfo(): InstanceEntity\Registrations
        {
                $register_policy   = intval($this->config->get('config', 'register_policy'));
                $enabled           = ($register_policy != Register::CLOSED);
@@ -155,7 +155,7 @@ class InstanceV2 extends BaseApi
                return new InstanceEntity\Registrations($enabled, $approval_required);
        }
 
-       private function buildUsageInfo():InstanceEntity\Usage
+       private function buildUsageInfo(): InstanceEntity\Usage
        {
                if (!empty($this->config->get('system', 'nodeinfo'))) {
                        $active_monthly = intval(DI::keyValue()->get('nodeinfo_active_users_monthly'));