From c58905121ea9a62b57a2980c50dd88e77deb4e01 Mon Sep 17 00:00:00 2001 From: Hamid Dehnavi Date: Tue, 11 Jul 2023 11:24:01 +0330 Subject: [PATCH] Fix code style Signed-off-by: Hamid Dehnavi --- lib/private/App/AppStore/Bundles/Bundle.php | 1 - lib/private/App/AppStore/Bundles/BundleFetcher.php | 4 +--- lib/private/App/AppStore/Fetcher/AppFetcher.php | 1 - lib/private/App/AppStore/Version/Version.php | 1 - lib/private/App/InfoParser.php | 1 - lib/private/App/Platform.php | 1 - 6 files changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/private/App/AppStore/Bundles/Bundle.php b/lib/private/App/AppStore/Bundles/Bundle.php index 750ea5a41e3ef..fb86edff55981 100644 --- a/lib/private/App/AppStore/Bundles/Bundle.php +++ b/lib/private/App/AppStore/Bundles/Bundle.php @@ -26,7 +26,6 @@ use OCP\IL10N; abstract class Bundle { - /** * @param IL10N $l10n */ diff --git a/lib/private/App/AppStore/Bundles/BundleFetcher.php b/lib/private/App/AppStore/Bundles/BundleFetcher.php index a2ce89f28af0f..7ac70591e8aee 100644 --- a/lib/private/App/AppStore/Bundles/BundleFetcher.php +++ b/lib/private/App/AppStore/Bundles/BundleFetcher.php @@ -27,9 +27,7 @@ use OCP\IL10N; class BundleFetcher { - - public function __construct - ( + public function __construct( private IL10N $l10n, ) { } diff --git a/lib/private/App/AppStore/Fetcher/AppFetcher.php b/lib/private/App/AppStore/Fetcher/AppFetcher.php index 7a7d2f2906d2b..7f98617d822c0 100644 --- a/lib/private/App/AppStore/Fetcher/AppFetcher.php +++ b/lib/private/App/AppStore/Fetcher/AppFetcher.php @@ -39,7 +39,6 @@ use Psr\Log\LoggerInterface; class AppFetcher extends Fetcher { - /** @var IRegistry */ protected IRegistry $registry; diff --git a/lib/private/App/AppStore/Version/Version.php b/lib/private/App/AppStore/Version/Version.php index bcdae1984cf00..5bd0226528f33 100644 --- a/lib/private/App/AppStore/Version/Version.php +++ b/lib/private/App/AppStore/Version/Version.php @@ -23,7 +23,6 @@ namespace OC\App\AppStore\Version; class Version { - /** * @param string $minVersion * @param string $maxVersion diff --git a/lib/private/App/InfoParser.php b/lib/private/App/InfoParser.php index 1efb0071bd30e..2461d587bbdf5 100644 --- a/lib/private/App/InfoParser.php +++ b/lib/private/App/InfoParser.php @@ -34,7 +34,6 @@ use function simplexml_load_string; class InfoParser { - /** * @param ICache|null $cache */ diff --git a/lib/private/App/Platform.php b/lib/private/App/Platform.php index 3631a3d1cb93d..c5565e9e0c253 100644 --- a/lib/private/App/Platform.php +++ b/lib/private/App/Platform.php @@ -36,7 +36,6 @@ * @package OC\App */ class Platform { - public function __construct( private IConfig $config, ) {