[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] [doc-en] master: Fix GH-1157: Covarience/Contravarience with int/float doesn't work
From:       "Christoph M. Becker" <noreply () php ! net>
Date:       2021-11-28 15:17:34
Message-ID: 0Elkd9to94WPOSRvix0Mc70bub9MTGUXOQpcrRNa5s () main ! php ! net
[Download RAW message or body]

Author: Christoph M. Becker (cmb69)
Date: 2021-11-28T16:18:08+01:00

Commit: https://github.com/php/doc-en/commit/1c4b1d9f91875f5e900646b9978087ba039fdd30
Raw diff: https://github.com/php/doc-en/commit/1c4b1d9f91875f5e900646b9978087ba039fdd30.diff

Fix GH-1157: Covarience/Contravarience with int/float doesn't work

Changed paths:
  M  language/oop5/variance.xml


Diff:

diff --git a/language/oop5/variance.xml b/language/oop5/variance.xml
index 7df570cc82..2d665ee696 100644
--- a/language/oop5/variance.xml
+++ b/language/oop5/variance.xml
@@ -26,11 +26,6 @@
      A class type is changed to a child class type
     </simpara>
    </listitem>
-   <listitem>
-    <simpara>
-     <type>float</type> is changed to <type>int</type>
-    </simpara>
-   </listitem>
    <listitem>
     <simpara>
      <type>iterable</type> is changed to <type>array</type> or <classname>Traversable</classname>

-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic