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 98781fd commit 0e3fd21Copy full SHA for 0e3fd21
lib/jblond/Diff/Renderer/Text/UnifiedCli.php
@@ -27,15 +27,23 @@ class UnifiedCli extends MainRendererAbstract
27
*/
28
private $colors;
29
30
+ /**
31
+ * @var array Associative array containing the default options available for this renderer and their default
32
+ * value.
33
+ */
34
+ protected $subOptions = [];
35
+
36
/**
37
* UnifiedCli constructor.
38
* @param array $options
39
+ *
40
41
public function __construct(array $options = [])
42
{
- parent::__construct($options);
43
+ parent::__construct();
44
+ $this->setOptions($this->subOptions);
45
+ $this->setOptions($options);
46
$this->colors = new CliColors();
- $this->options = $options;
47
}
48
49
0 commit comments