From ce1d69a1f6dcf15d43029301059c25e5bc09a577 Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Sun, 4 Feb 2018 11:33:49 -0200 Subject: Use int instead of integer in type errors PHP requires integer typehints to be written "int" and does not allow "integer" as an alias. This changes type error messages to match the actual type name and avoids confusing messages like "must be of the type integer, integer given". --- ext/standard/tests/strings/str_split_variation6.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/standard/tests/strings/str_split_variation6.phpt') diff --git a/ext/standard/tests/strings/str_split_variation6.phpt b/ext/standard/tests/strings/str_split_variation6.phpt index 53385a76de..95afb24e59 100644 --- a/ext/standard/tests/strings/str_split_variation6.phpt +++ b/ext/standard/tests/strings/str_split_variation6.phpt @@ -157,7 +157,7 @@ array(1) { } -- Iteration 7 -- -Warning: str_split() expects parameter 2 to be integer, float given in %s line %d +Warning: str_split() expects parameter 2 to be int, float given in %s line %d NULL -- Iteration 8 -- -- cgit v1.2.1