Skip to content

Commit 94fc12a

Browse files
committed
fix: fix withLeaf() docblock @throws anotation
1 parent 22863d0 commit 94fc12a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function isSiblingOf(LtreeInterface $ltree): bool;
6464
*
6565
* @param non-empty-string $leaf
6666
*
67-
* @throws \InvalidArgumentException if the leaf is empty or contains dot
67+
* @throws \InvalidArgumentException if the leaf format is invalid (empty string, contains dots, ...)
6868
*/
6969
public function withLeaf(string $leaf): static;
7070
}

0 commit comments

Comments
 (0)