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;