diff --git a/tests/PHPStan/Levels/data/acceptTypes-5.json b/tests/PHPStan/Levels/data/acceptTypes-5.json index a3eb3cd67a..c9f5fdf981 100644 --- a/tests/PHPStan/Levels/data/acceptTypes-5.json +++ b/tests/PHPStan/Levels/data/acceptTypes-5.json @@ -60,7 +60,7 @@ "ignorable": true }, { - "message": "Parameter #1 $var of function count expects array|Countable, string given.", + "message": "Parameter #1 $value of function count expects array|Countable, string given.", "line": 170, "ignorable": true }, @@ -200,7 +200,7 @@ "ignorable": true }, { - "message": "Parameter #2 $pieces of function implode expects array, int given.", + "message": "Parameter #2 $array of function implode expects array|null, int given.", "line": 763, "ignorable": true } diff --git a/tests/PHPStan/Levels/data/acceptTypes-7.json b/tests/PHPStan/Levels/data/acceptTypes-7.json index 31ce9d362b..8345aca34c 100644 --- a/tests/PHPStan/Levels/data/acceptTypes-7.json +++ b/tests/PHPStan/Levels/data/acceptTypes-7.json @@ -35,7 +35,7 @@ "ignorable": true }, { - "message": "Parameter #1 $var of function count expects array|Countable, iterable given.", + "message": "Parameter #1 $value of function count expects array|Countable, iterable given.", "line": 167, "ignorable": true }, @@ -155,7 +155,7 @@ "ignorable": true }, { - "message": "Parameter #2 $pieces of function implode expects array, array|int|string given.", + "message": "Parameter #2 $array of function implode expects array|null, array|int|string given.", "line": 756, "ignorable": true }