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:
parent
1062591eec
commit
a5cf4dbaaa
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user