1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Make exception properties protected

This commit is contained in:
Matthew Brown 2020-03-11 15:43:15 -04:00
parent 1062591eec
commit a5cf4dbaaa

View File

@ -26,6 +26,26 @@ interface Throwable
class Exception implements Throwable class Exception implements Throwable
{ {
/**
* @var string
*/
protected $message;
/**
* @var int
*/
protected $code;
/**
* @var string
*/
protected $file;
/**
* @var int
*/
protected $line;
/** /**
* @psalm-external-mutation-free * @psalm-external-mutation-free
* @param string $message * @param string $message