We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e669f3 commit 9251139Copy full SHA for 9251139
src/Options.php
@@ -40,7 +40,7 @@ class Options
40
* @param Colors $colors optional configured color object
41
* @throws Exception when arguments can't be read
42
*/
43
- public function __construct(Colors $colors = null)
+ public function __construct(?Colors $colors = null)
44
{
45
if (!is_null($colors)) {
46
$this->colors = $colors;
0 commit comments