From ad9c26c2eaaf0ca8f355ff7c688e8725be3db2c0 Mon Sep 17 00:00:00 2001 From: Sylvain LE GLEAU Date: Fri, 20 Dec 2024 09:07:22 +0100 Subject: [PATCH] Prevent deprecated (explicit nullable type) notice with PHP 8.4 --- src/Renderer/BinaryRenderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Renderer/BinaryRenderer.php b/src/Renderer/BinaryRenderer.php index 53d6b78..3225a60 100644 --- a/src/Renderer/BinaryRenderer.php +++ b/src/Renderer/BinaryRenderer.php @@ -34,7 +34,7 @@ final class BinaryRenderer implements RendererInterface */ private $node; - public function __construct(string $bin, bool $minify, string $validationLevel, string $node = null, int $mjmlVersion = null) + public function __construct(string $bin, bool $minify, string $validationLevel, ?string $node = null, ?int $mjmlVersion = null) { $this->bin = $bin; $this->minify = $minify;