Issues

ZF-11322: [ZFDEV2] Invalid method declarations in \Zend\Locale\Data\AbstractLocale class

Issue Type: Bug Created: 2011-04-24T13:54:04.000+0000 Last Updated: 2011-04-26T19:48:56.000+0000 Status: Resolved Fix version(s): - Next Major Release ()

Reporter: Vasilis Raptakis (scaraveos) Assignee: Thomas Weidner (thomas) Tags: - Zend_Locale

Related issues: Attachments:

Description

Methods without a method body appear at the end of \Zend\Locale\Data\AbstractLocale class:

public static function toInteger()
public static function toFloat()
public static function toDecimal()
public static function toScientific()

public static function toCurrency()

public static function toArray()
public static function toDateString()

Are they supposed to be abstract or implemented in the future? Right now they cause a php error because they are missing the body brackets {}.

I will add a pull request at github with those lines commented out.

Comments

Posted by Vasilis Raptakis (scaraveos) on 2011-04-24T14:31:41.000+0000

Added pull request at github.

Posted by Thomas Weidner (thomas) on 2011-04-26T19:48:56.000+0000

Zend_Locale is being reworked for ZF2.0. But the latest release has not been accepted for now as the rework is not finished completly.

You can see the latest work in this branch: https://github.com/thomasweidner/zf2/…

The mentioned issue is no problem within this branch. Therefor closing this issue as non-issue for Zend Locale.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts