Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-14157

eZDate::create() and eZDateTime::create() should be marked as static

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.0.2, 4.1.0alpha1
    • 4.0.1
    • Misc
    • None
    • Operating System:
      PHP Version: (please be specific, like '4.4.3' or '5.1.5') : PHP 5
      Database and version:
      Browser (and version):

    Description

      eZDate::create() and eZDateTime::create() should be marked as static. Calling them as static method throws a strict PHP message :

      Strict: PHP  	Dec 17 2008 10:32:47
      
      Non-static method eZDateTime::create() should not be called statically in /home/dapob/dev/ezawstats/classes/ezawstats.php on line 242
      

      Attachments

        Activity

          People

            cyberwolf cyberwolf
            dpobel dpobel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: