com doc/ru: Static Trait Members description fixed: language/oop5/traits.xml

From: Date: Fri, 12 Mar 2021 10:26:30 +0000
Subject: com doc/ru: Static Trait Members description fixed: language/oop5/traits.xml
Groups: php.doc.ru 
Request: Send a blank email to doc-ru+get-8827@lists.php.net to get a copy of this message
Commit: b5ed62a2e6ecbf147e0ac21c3a86a60ae2409b1e Author: Alex Erohin <alexandererohin@yandex.ru> Fri, 12 Mar 2021 13:11:58 +0300 Committer: Sergey Panteleev <sergey@php.net> Fri, 12 Mar 2021 13:26:30 +0300 Parents: e68720214b60110b5e324c6ffcbcc4f01554d968 Branches: master Link: http://git.php.net/?p=doc/ru.git;a=commitdiff;h=b5ed62a2e6ecbf147e0ac21c3a86a60ae2409b1e Log: Static Trait Members description fixed Closes GH-27 Changed paths: M language/oop5/traits.xml Diff: diff --git a/language/oop5/traits.xml b/language/oop5/traits.xml index 458d4880c..503828849 100644 --- a/language/oop5/traits.xml +++ b/language/oop5/traits.xml @@ -367,9 +367,7 @@ class MyHelloWorld { <sect2 xml:id="language.oop5.traits.static"> <title>Статические члены трейта</title> <para> - На статические переменные можно ссылаться внутри методов трейта, но нельзя определить - статические переменные в самом трейте. Тем не менее, трейт может описывать статические методы - для демонстрации класса. + В трейтах можно определять статические методы и статические переменные </para> <example xml:id="language.oop5.traits.static.ex1"> <title>Статические переменные</title>

« previous php.doc.ru (#8827) next »