summaryrefslogtreecommitdiff
path: root/ext/intl/tests/ut_common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/tests/ut_common.inc')
-rw-r--r--ext/intl/tests/ut_common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/tests/ut_common.inc b/ext/intl/tests/ut_common.inc
index 4a2675b01f..fdc013dea4 100644
--- a/ext/intl/tests/ut_common.inc
+++ b/ext/intl/tests/ut_common.inc
@@ -142,7 +142,7 @@ function ut_nfmt_create( $locale, $style, $pattern = null )
return numfmt_create( $locale, $style, $pattern );
}
}
-function ut_nfmt_format( $fmt, $number, $type = null )
+function ut_nfmt_format( $fmt, $number, $type = NumberFormatter::TYPE_DEFAULT )
{
return $GLOBALS['oo-mode'] ? $fmt->format( $number, $type ) : numfmt_format( $fmt, $number, $type );
}