svn: /phpdoc/ja/trunk/language/types/ pseudo-types.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Wed, 02 Dec 2020 00:07:43 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=351831

Log:
Remove void from pseudo types page

void is no longer a pseudo type as of PHP 7.1.0, and already documented as
language.types.declarations.void.  Furthermore, empty parameter lists are
no longer showing void[1].

[1] <https://github.com/php/phd/pull/32>

Changed paths:
    U   phpdoc/ja/trunk/language/types/pseudo-types.xml

Modified: phpdoc/ja/trunk/language/types/pseudo-types.xml
===================================================================
--- phpdoc/ja/trunk/language/types/pseudo-types.xml	2020-12-02 00:05:57 UTC (rev 351830)
+++ phpdoc/ja/trunk/language/types/pseudo-types.xml	2020-12-02 00:07:43 UTC (rev 351831)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351340 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351798 Maintainer: takagi Status: ready -->
 <!-- CREDITS: hirokawa,shimooka,mumumu -->
 <sect1 xml:id="language.pseudo-types">
  <title>本ドキュメントにおける疑似的な型および変数</title>
@@ -23,20 +23,6 @@

  </sect2>

- <sect2 xml:id="language.types.void">
-  <title>void</title>
-
-  <para>
-   返り値の型が <literal>void</literal> である場合は、
-   返り値に意味がないことを表します。パラメータ一覧で
-   <literal>void</literal> が使用されている場合は、
-   その関数がパラメータを受け付けないことを表します。
-   PHP 7.1 以降では、<literal>void</literal>
-   が返り値の型ヒントとして受け付けできるようになりました。
-  </para>
-
- </sect2>
-
 </sect1>

 <!-- Keep this comment at the end of the file
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.