com doc/ja: Make class type declaration context independent: language/types/declarations.xml
[email protected] (Yoshinari Takaoka) Sun, 10 Jan 2021 02:47:57 +0000
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
Commit: 24c072d5f126f266f2c6ad3016d1921cc57c45a2 Author: Yoshinari Takaoka <[email protected]> Sun, 10 Jan 2021 11:47:57 +0900 Parents: a75e56873266cf736b8aeddb9fa8c184e55cd54e Branches: master Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=24c072d5f126f266f2c6ad3016d1921cc57c45a2 Log: Make class type declaration context independent Closes GH-316 Changed paths: M language/types/declarations.xml Diff: diff --git a/language/types/declarations.xml b/language/types/declarations.xml index 9e3ffad698..610e1804a8 100644 --- a/language/types/declarations.xml +++ b/language/types/declarations.xml @@ -46,7 +46,7 @@ <row> <entry><type>self</type></entry> <entry> - 値が、そのメソッドが定義されているクラスと同じクラスのインスタンスでなければいけません。 + 値が、型宣言が行われているクラスと同じクラスのインスタンスでなければいけません。 クラスの内部でのみ使えます。 </entry> <entry/> @@ -54,7 +54,7 @@ <row> <entry><type>parent</type></entry> <entry> - 値が、そのプロパティが定義されたクラスの、親クラスのインスタンスでなければいけません。 + 値が、型宣言が行われたクラスの、親クラスのインスタンスでなければいけません。 クラスの内部でのみ使えます。 </entry> <entry/>