1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

change label (#4272)

This commit is contained in:
orklah 2020-10-02 21:08:26 +02:00 committed by Daniil Gentili
parent 53f9ba5b3b
commit 5e30c25e8a
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

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