Make error messages more consistent by fixing capitalization

Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
This commit is contained in:
Máté Kocsis 2020-01-15 11:27:29 +01:00
parent 117b18d22d
commit d1764ca330
No known key found for this signature in database
GPG key ID: FD055E41728BF310
432 changed files with 1525 additions and 1525 deletions

View file

@ -627,7 +627,7 @@ ZEND_METHOD(exception, getTraceAsString)
trace = zend_read_property_ex(base_ce, object, ZSTR_KNOWN(ZEND_STR_TRACE), 1, &rv);
if (Z_TYPE_P(trace) != IS_ARRAY) {
zend_type_error("trace is not an array");
zend_type_error("Trace is not an array");
return;
}
ZEND_HASH_FOREACH_NUM_KEY_VAL(Z_ARRVAL_P(trace), index, frame) {