Skip to content

Commit d85ea6e

Browse files
committed
fix: clarify contructor docblock
1 parent 1ff0af7 commit d85ea6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MartinGeorgiev/Doctrine/DBAL/Types/ValueObject/LtreeInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
interface LtreeInterface extends \Stringable, \JsonSerializable
88
{
99
/**
10-
* @param list<non-empty-string> $pathFromRoot
10+
* @param list<non-empty-string> $pathFromRoot A list with one element represents the root. The list may be empty.
1111
*
1212
* @throws \InvalidArgumentException if the pathFromRoot is not a valid ltree path
13-
* (contains empty labels, consecutive dots, or starts/ends with a dot)
13+
* (contains labels which are empty or contains one or more dots)
1414
*/
1515
public function __construct(array $pathFromRoot);
1616

0 commit comments

Comments
 (0)