Skip to content

Commit 8555fdd

Browse files
committed
update doc
1 parent 4f2b31a commit 8555fdd

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

lib/jblond/Diff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class Diff
5050
private $groupedCodes;
5151

5252
/**
53-
* @var array<string> Associative array containing the default options available
53+
* @var array<string, string> Associative array containing the default options available
5454
* for the diff class and their default value.
5555
*
5656
* - context The amount of lines to include around blocks that differ.

lib/jblond/Diff/Renderer/Html/HtmlArray.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
class HtmlArray extends RendererAbstract
2424
{
2525
/**
26-
* @var array<string> Associative array containing the default options available
26+
* @var array<string, string> Associative array containing the default options available
2727
* for this renderer and their default value.
2828
*
2929
* - tabSize The amount of spaces to replace a tab character with.

lib/jblond/Diff/Renderer/RendererAbstract.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ abstract class RendererAbstract
2929
public $diff;
3030

3131
/**
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.
3333
*/
3434
protected $defaultOptions = [
3535
'title1' => 'Version1',
3636
'title2' => 'Version2',
3737
];
3838

3939
/**
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.
4141
*/
4242
protected $options = [];
4343

@@ -57,7 +57,7 @@ public function __construct(array $options = [])
5757
* Options are merged with the default to ensure that there aren't any missing
5858
* options.
5959
*
60-
* @param array<string> $options Array of options to set.
60+
* @param array<string, string> $options Array of options to set.
6161
*/
6262
public function setOptions(array $options)
6363
{

lib/jblond/Diff/Renderer/Text/UnifiedCli.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class UnifiedCli extends RendererAbstract
3434

3535
/**
3636
* UnifiedCli constructor.
37-
* @param array<string> $options
37+
* @param array<string, string> $options
3838
*/
3939
public function __construct(array $options = [])
4040
{

0 commit comments

Comments
 (0)