1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

change label (#4272)

This commit is contained in:
orklah 2020-10-02 21:08:26 +02:00 committed by GitHub
parent 13fd6c5a9d
commit 17d53974e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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];