Skip to content

Commit bf14447

Browse files
committed
Capitalize error message
1 parent b76677d commit bf14447

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/intl/formatter/formatter_format.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ PHP_FUNCTION( numfmt_format )
4545
RETURN_THROWS();
4646
}
4747
if(Z_TYPE_P(number) == IS_ARRAY) {
48-
zend_type_error("given value must not be an array");
48+
zend_type_error("Given value must not be an array");
4949
RETURN_THROWS();
5050
}
5151

ext/intl/tests/bug79212.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var_dump($fmt->format([1], NumberFormatter::TYPE_INT64));
1616
--EXPECTF--
1717
string(21) "823749273428379%c%c%c%c%c%c"
1818

19-
Fatal error: Uncaught TypeError: given value must not be an array in %s:%d
19+
Fatal error: Uncaught TypeError: Given value must not be an array in %s:%d
2020
Stack trace:
2121
#0 %s(%d): NumberFormatter->format(Array, 2)
2222
#1 {main}

0 commit comments

Comments
 (0)