From 9251139917d276706f7a502557b5a9defc59996d Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Tue, 28 Oct 2025 15:26:26 +0100 Subject: [PATCH] Update constructor to accept nullable Colors parameter --- src/Options.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Options.php b/src/Options.php index 5ee6b69..1c0752b 100644 --- a/src/Options.php +++ b/src/Options.php @@ -40,7 +40,7 @@ class Options * @param Colors $colors optional configured color object * @throws Exception when arguments can't be read */ - public function __construct(Colors $colors = null) + public function __construct(?Colors $colors = null) { if (!is_null($colors)) { $this->colors = $colors;