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:
parent
53f9ba5b3b
commit
5e30c25e8a
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user