Skip to content

Commit 1822bb3

Browse files
committed
Make class type declaration context independent
Closes GH-316
1 parent c2db151 commit 1822bb3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

language/types/declarations.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
<row>
4343
<entry><type>self</type></entry>
4444
<entry>
45-
The value must be an &instanceof; the same class as the one the
46-
method is defined on.
45+
The value must be an &instanceof; the same class as the one
46+
in which the type declaration is used.
4747
Can only be used in classes.
4848
</entry>
4949
<entry/>
@@ -52,7 +52,7 @@
5252
<entry><type>parent</type></entry>
5353
<entry>
5454
The value must be an &instanceof; the parent of the class
55-
in which the property is defined.
55+
in which the type declaration is used.
5656
Can only be used in classes.
5757
</entry>
5858
<entry/>

0 commit comments

Comments
 (0)