From 24d339648e693449fd22a64a674ce048da8e7fe1 Mon Sep 17 00:00:00 2001 From: Alejandro Albarca Date: Wed, 2 Apr 2025 15:56:51 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Component.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Component.php b/src/Component.php index 716e0c8..39baf20 100644 --- a/src/Component.php +++ b/src/Component.php @@ -17,7 +17,7 @@ public static function dateTime(\DateTimeImmutable $dateTime, string $format = ' return new Component\DateTime($dateTime, $format); } - public static function document(string $link, string $filename = null): Component\Document + public static function document(string $link, ?string $filename = null): Component\Document { return new Component\Document($link, $filename); }