Skip to content

Commit 16d2e63

Browse files
committed
Clarify semantics of Name::toString()
1 parent e7e2615 commit 16d2e63

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Schema/Name.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ interface Name
1212
/**
1313
* Returns the string representation of the name.
1414
*
15-
* The consumers of this method should not rely on a specific return value. It should be used only for diagnostic
16-
* purposes.
15+
* If passed to the corresponding parser, the name should be parsed back to an equivalent object.
1716
*/
1817
public function toString(): string;
1918
}

0 commit comments

Comments
 (0)