]> git.mxchange.org Git - friendica.git/commitdiff
Fix code style
authorArt4 <art4@wlabs.de>
Tue, 4 Feb 2025 10:50:06 +0000 (10:50 +0000)
committerArt4 <art4@wlabs.de>
Tue, 4 Feb 2025 10:50:06 +0000 (10:50 +0000)
src/Core/Addon/AddonInfo.php
src/Module/Admin/Addons/Details.php

index 38f7dd6cd625ff69278d9f807d92ab160a80f8b0..854803b958092be16de57416de4c79942891e0de 100644 (file)
@@ -84,13 +84,13 @@ final class AddonInfo
                string $version,
                string $status,
        ) {
-               $this->id = $id;
-               $this->name = $name;
+               $this->id          = $id;
+               $this->name        = $name;
                $this->description = $description;
-               $this->author = $author;
-               $this->maintainer = $maintainer;
-               $this->version = $version;
-               $this->status = $status;
+               $this->author      = $author;
+               $this->maintainer  = $maintainer;
+               $this->version     = $version;
+               $this->status      = $status;
        }
 
        public function getId(): string
index 039718c3a49898cf77289aef3d1bf1fe93bc2644..65b51e0ee5e244de36acc4ffe462b476ea4d0aab 100644 (file)
@@ -96,28 +96,28 @@ class Details extends BaseAdmin
                $t = Renderer::getMarkupTemplate('admin/addons/details.tpl');
 
                return Renderer::replaceMacros($t, [
-                       '$title' => DI::l10n()->t('Administration'),
-                       '$page' => DI::l10n()->t('Addons'),
-                       '$toggle' => DI::l10n()->t('Toggle'),
+                       '$title'    => DI::l10n()->t('Administration'),
+                       '$page'     => DI::l10n()->t('Addons'),
+                       '$toggle'   => DI::l10n()->t('Toggle'),
                        '$settings' => DI::l10n()->t('Settings'),
 
-                       '$addon' => $addon,
+                       '$addon'  => $addon,
                        '$status' => $status,
                        '$action' => $action,
-                       '$info' => [
-                               'name' => $addonInfo->getName(),
-                               'version' => $addonInfo->getVersion(),
+                       '$info'   => [
+                               'name'        => $addonInfo->getName(),
+                               'version'     => $addonInfo->getVersion(),
                                'description' => $addonInfo->getDescription(),
-                               'author' => $addonInfo->getAuthor(),
-                               'maintainer' => $addonInfo->getMaintainer(),
+                               'author'      => $addonInfo->getAuthor(),
+                               'maintainer'  => $addonInfo->getMaintainer(),
                        ],
-                       '$str_author' => DI::l10n()->t('Author: '),
+                       '$str_author'     => DI::l10n()->t('Author: '),
                        '$str_maintainer' => DI::l10n()->t('Maintainer: '),
 
                        '$admin_form' => $admin_form,
-                       '$function' => 'addons',
+                       '$function'   => 'addons',
                        '$screenshot' => '',
-                       '$readme' => $readme,
+                       '$readme'     => $readme,
 
                        '$form_security_token' => self::getFormSecurityToken('admin_addons_details'),
                ]);