File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 19
19
interface WrappedExceptionsInterface extends \Throwable
20
20
{
21
21
/**
22
- * @template TClass of class-string< \Throwable>
22
+ * @template TException of \Throwable
23
23
*
24
- * @param TClass |null $class
24
+ * @param class-string<TException> |null $class
25
25
*
26
26
* @return \Throwable[]
27
27
*
28
- * @psalm-return (TClass is null ? \Throwable[] : TClass [])
28
+ * @psalm-return ($class is null ? \Throwable[] : TException [])
29
29
*/
30
30
public function getWrappedExceptions (?string $ class = null , bool $ recursive = false ): array ;
31
31
}
Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ trait WrappedExceptionsTrait
21
21
private array $ exceptions ;
22
22
23
23
/**
24
- * @template TClass of class-string< \Throwable>
24
+ * @template TException of \Throwable
25
25
*
26
- * @param TClass |null $class
26
+ * @param class-string<TException> |null $class
27
27
*
28
28
* @return \Throwable[]
29
29
*
30
- * @psalm-return (TClass is null ? \Throwable[] : TClass [])
30
+ * @psalm-return ($class is null ? \Throwable[] : TException [])
31
31
*/
32
32
public function getWrappedExceptions (?string $ class = null , bool $ recursive = false ): array
33
33
{
You can’t perform that action at this time.
0 commit comments