Skip to content
This repository was archived by the owner on Nov 12, 2021. It is now read-only.

Commit 999ce25

Browse files
committed
Logger: added @phpstan-param to logException()
this isn't as specific as it could be, but I can't be bothered to specify all of the possible indexes, especially since it might need to be duplicated. Maybe when PHPStan supports type aliases it might be a different story.
1 parent 3ae3224 commit 999ce25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Logger.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ public function log($level, $message);
108108
*
109109
* @param Throwable $e
110110
* @param array|null $trace
111+
* @phpstan-param list<array<string, mixed>>|null $trace
111112
*
112113
* @return void
113114
*/

0 commit comments

Comments
 (0)