mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Update Throwable::getTrace in stubs
This commit is contained in:
parent
0b39384325
commit
ca185d7f28
@ -45,6 +45,7 @@ interface Throwable
|
||||
|
||||
/**
|
||||
* @psalm-mutation-free
|
||||
* @return list<array{file:string,line:int,function?:string,class?:string,type?:'::'|'->',args?:array<mixed>}>
|
||||
*/
|
||||
public function getTrace() : array;
|
||||
|
||||
@ -123,6 +124,7 @@ class Exception implements Throwable
|
||||
|
||||
/**
|
||||
* @psalm-mutation-free
|
||||
* @return list<array{file:string,line:int,function?:string,class?:string,type?:'::'|'->',args?:array<mixed>}>
|
||||
*/
|
||||
public final function getTrace() : array {}
|
||||
|
||||
@ -199,6 +201,7 @@ class Error implements Throwable
|
||||
|
||||
/**
|
||||
* @psalm-mutation-free
|
||||
* @return list<array{file:string,line:int,function?:string,class?:string,type?:'::'|'->',args?:array<mixed>}>
|
||||
*/
|
||||
public final function getTrace() : array {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user