ID:               48088
 Updated by:       ka...@php.net
 Reported By:      indey...@php.net
-Status:           Open
+Status:           Closed
 Bug Type:         Date/time related
 Operating System: any
 PHP Version:      5.3.0RC1
-Assigned To:      
+Assigned To:      kalle
 New Comment:

I could only see setISODate as having it wrongly, fixed in CVS


Previous Comments:
------------------------------------------------------------------------

[2009-04-27 12:49:40] indey...@php.net

Description:
------------
ARG_INFO of several methods of DateTime class have $object as the first

parameter, which, actually, is not needed in object-oriented API.

Reproduce code:
---------------
php --rc DateTime

Expected result:
----------------
…
Method [ <internal:date> public method setISODate ] {

      - Parameters [4] {
        Parameter #0 [ <required> $year ]
        Parameter #1 [ <required> $week ]
        Parameter #2 [ <optional> $day ]
      }
    }
…

Actual result:
--------------
…
Method [ <internal:date> public method setISODate ] {

      - Parameters [4] {
        Parameter #0 [ <required> $object ]
        Parameter #1 [ <required> $year ]
        Parameter #2 [ <required> $week ]
        Parameter #3 [ <optional> $day ]
      }
    }
…


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48088&edit=1

Reply via email to