From 5e30c25e8a634d1e9d9398dfe23bba635e18b758 Mon Sep 17 00:00:00 2001 From: orklah Date: Fri, 2 Oct 2020 21:08:26 +0200 Subject: [PATCH] change label (#4272) --- .../Internal/FileManipulation/PropertyDocblockManipulator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/FileManipulation/PropertyDocblockManipulator.php b/src/Psalm/Internal/FileManipulation/PropertyDocblockManipulator.php index 861c41fcf..6aeac6c06 100644 --- a/src/Psalm/Internal/FileManipulation/PropertyDocblockManipulator.php +++ b/src/Psalm/Internal/FileManipulation/PropertyDocblockManipulator.php @@ -93,7 +93,7 @@ class PropertyDocblockManipulator $file_contents = $codebase->getFileContents($file_path); if (count($stmt->props) > 1) { - throw new \UnexpectedValueException('Cannot replace multiple properties'); + throw new \UnexpectedValueException('Cannot replace multiple inline properties in ' . $file_path); } $prop = $stmt->props[0];