From 6b49aa792b4fe654d16e8ef29c7a0e81a1d9f02c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Tue, 17 Mar 2026 15:15:55 +0100 Subject: [PATCH] chore: Remove types from const properties for PHP 8.2 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- core/Command/Db/Migrations/GenerateCommand.php | 2 +- lib/private/App/PlatformRepository.php | 2 +- lib/private/Setup.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/Command/Db/Migrations/GenerateCommand.php b/core/Command/Db/Migrations/GenerateCommand.php index cec93146d77..5bc7a3abdf2 100644 --- a/core/Command/Db/Migrations/GenerateCommand.php +++ b/core/Command/Db/Migrations/GenerateCommand.php @@ -23,7 +23,7 @@ use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Question\ConfirmationQuestion; class GenerateCommand extends Command implements CompletionAwareInterface { - private const string TEMPLATE + private const TEMPLATE = 'l10n = $l10nFactory->get('lib'); } - private const array DB_SETUP_CLASSES = [ + private const DB_SETUP_CLASSES = [ 'mysql' => MySQL::class, 'pgsql' => PostgreSQL::class, 'oci' => OCI::class,