File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class Diff
50
50
private $ groupedCodes ;
51
51
52
52
/**
53
- * @var array<string> Associative array containing the default options available
53
+ * @var array<string, string > Associative array containing the default options available
54
54
* for the diff class and their default value.
55
55
*
56
56
* - context The amount of lines to include around blocks that differ.
Original file line number Diff line number Diff line change 23
23
class HtmlArray extends RendererAbstract
24
24
{
25
25
/**
26
- * @var array<string> Associative array containing the default options available
26
+ * @var array<string, string > Associative array containing the default options available
27
27
* for this renderer and their default value.
28
28
*
29
29
* - tabSize The amount of spaces to replace a tab character with.
Original file line number Diff line number Diff line change @@ -29,15 +29,15 @@ abstract class RendererAbstract
29
29
public $ diff ;
30
30
31
31
/**
32
- * @var array<string> Array of the default options that apply to this renderer.
32
+ * @var array<string, string > Array of the default options that apply to this renderer.
33
33
*/
34
34
protected $ defaultOptions = [
35
35
'title1 ' => 'Version1 ' ,
36
36
'title2 ' => 'Version2 ' ,
37
37
];
38
38
39
39
/**
40
- * @var array<string> Array containing the user applied and merged default options for the renderer.
40
+ * @var array<string, string > Array containing the user applied and merged default options for the renderer.
41
41
*/
42
42
protected $ options = [];
43
43
@@ -57,7 +57,7 @@ public function __construct(array $options = [])
57
57
* Options are merged with the default to ensure that there aren't any missing
58
58
* options.
59
59
*
60
- * @param array<string> $options Array of options to set.
60
+ * @param array<string, string > $options Array of options to set.
61
61
*/
62
62
public function setOptions (array $ options )
63
63
{
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class UnifiedCli extends RendererAbstract
34
34
35
35
/**
36
36
* UnifiedCli constructor.
37
- * @param array<string> $options
37
+ * @param array<string, string > $options
38
38
*/
39
39
public function __construct (array $ options = [])
40
40
{
You can’t perform that action at this time.
0 commit comments