Skip to content

Commit bbd3834

Browse files
MatTheCatfabpot
authored andcommitted
[HttpKernel] Update DebugLoggerInterface::getLogs PHPDoc
1 parent f3ce137 commit bbd3834

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

Log/DebugLoggerInterface.php

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,15 @@ interface DebugLoggerInterface
2323
/**
2424
* Returns an array of logs.
2525
*
26-
* A log is an array with the following mandatory keys:
27-
* timestamp, message, priority, and priorityName.
28-
* It can also have an optional context key containing an array.
29-
*
30-
* @return array
26+
* @return array<array{
27+
* channel: ?string,
28+
* context: array<string, mixed>,
29+
* message: string,
30+
* priority: int,
31+
* priorityName: string,
32+
* timestamp: int,
33+
* timestamp_rfc3339: string,
34+
* }>
3135
*/
3236
public function getLogs(Request $request = null);
3337

0 commit comments

Comments
 (0)