From 8db9d3b3d8bdf53c286cd089a33a94c23a65ca0a Mon Sep 17 00:00:00 2001 From: BaHeK1994 Date: Wed, 18 Dec 2024 10:59:29 +0300 Subject: [PATCH] Fix deprecated on php 8.4 FOS\CKEditorBundle\Command\CKEditorInstallerCommand::block(): Implicitly marking parameter $background as nullable is deprecated, the explicit nullable type must be used instead FOS\CKEditorBundle\Command\CKEditorInstallerCommand::block(): Implicitly marking parameter $font as nullable is deprecated, the explicit nullable type must be used instead --- src/Command/CKEditorInstallerCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Command/CKEditorInstallerCommand.php b/src/Command/CKEditorInstallerCommand.php index cfaae542..9863c627 100644 --- a/src/Command/CKEditorInstallerCommand.php +++ b/src/Command/CKEditorInstallerCommand.php @@ -290,8 +290,8 @@ private function info(string $message, OutputInterface $output): void private function block( string $message, OutputInterface $output, - string $background = null, - string $font = null + ?string $background = null, + ?string $font = null ): void { $options = [];