Skip to content

Commit a3c099f

Browse files
committed
Fix documentation issues
1 parent fe6aec2 commit a3c099f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Encoder/ArrayEncoder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function encode($value, $depth, array $options, callable $encode)
4848
}
4949

5050
/**
51-
* Returns the PHP code for aligned array accounting for omitted keys and inlined arrays.
51+
* Returns the PHP code for aligned array accounting for omitted keys and inline arrays.
5252
* @param array $array Array to encode
5353
* @param int $depth Current indentation depth of the output
5454
* @param array $options List of encoder options
@@ -96,7 +96,7 @@ private function getFormattedArray(array $array, $depth, array $options, callabl
9696
}
9797

9898
/**
99-
* Returns the code for the inlined array, if possible.
99+
* Returns the code for the inline array, if possible.
100100
* @param string[] $lines Encoded key and value pairs
101101
* @param array $options List of encoder options
102102
* @return string|false Array encoded as single line of PHP code or false if not possible

src/PHPEncoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class PHPEncoder
4343
* be used instead.
4444
*
4545
* @param array $options List of encoder options
46-
* @param null|Encoder[] $encoders List of encoders to use or null for defaults
46+
* @param Encoder\Encoder[]|null $encoders List of encoders to use or null for defaults
4747
* @throws InvalidOptionException If any of the encoder options are invalid
4848
*/
4949
public function __construct(array $options = [], array $encoders = null)

0 commit comments

Comments
 (0)