Skip to content

Commit 5729e7e

Browse files
committed
More descriptive Term/AliasGroup docs
1 parent a634682 commit 5729e7e

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

src/Term/AliasGroup.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
class AliasGroup implements Comparable, Countable {
2020

2121
/**
22-
* @var string
22+
* @var string Language code identifying the language of the aliases, but note that there is
23+
* nothing this class can do to enforce this convention.
2324
*/
2425
private $languageCode;
2526

@@ -29,7 +30,7 @@ class AliasGroup implements Comparable, Countable {
2930
private $aliases;
3031

3132
/**
32-
* @param string $languageCode
33+
* @param string $languageCode Language of the aliases.
3334
* @param string[] $aliases
3435
*
3536
* @throws InvalidArgumentException

src/Term/Term.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
class Term implements Comparable {
1717

1818
/**
19-
* @var string
19+
* @var string Language code identifying the language of the text, but note that there is
20+
* nothing this class can do to enforce this convention.
2021
*/
2122
private $languageCode;
2223

@@ -26,7 +27,7 @@ class Term implements Comparable {
2627
private $text;
2728

2829
/**
29-
* @param string $languageCode
30+
* @param string $languageCode Language of the text.
3031
* @param string $text
3132
*
3233
* @throws InvalidArgumentException

0 commit comments

Comments
 (0)