summaryrefslogtreecommitdiff
path: root/framework/I18N/core/DateTimeFormatInfo.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/I18N/core/DateTimeFormatInfo.php')
-rw-r--r--framework/I18N/core/DateTimeFormatInfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/I18N/core/DateTimeFormatInfo.php b/framework/I18N/core/DateTimeFormatInfo.php
index 4d8dafe8..fb6793c5 100644
--- a/framework/I18N/core/DateTimeFormatInfo.php
+++ b/framework/I18N/core/DateTimeFormatInfo.php
@@ -166,7 +166,7 @@ class DateTimeFormatInfo
* @return DateTimeFormatInfo DateTimeFormatInfo for the specified
* culture.
*/
- function getInstance($culture=null)
+ static function getInstance($culture=null)
{
if ($culture instanceof CultureInfo)