From ca600d80049f8f89baf9d9e8464c5ca2f1c87e5c Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Sun, 19 Dec 2021 17:20:27 +0100 Subject: [PATCH] Fix tests --- tests/PHPStan/Levels/data/acceptTypes-5.json | 4 ++-- tests/PHPStan/Levels/data/acceptTypes-7.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 }