You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 7, 2020. It is now read-only.
Copy file name to clipboardexpand all lines: src/EasyLogHandler.php
+2-2
Original file line number
Diff line number
Diff line change
@@ -19,15 +19,15 @@ public function __construct($stream)
19
19
/**
20
20
* @param array $record
21
21
*/
22
-
publicfunctionhandle(array$record)
22
+
publicfunctionhandle(array$record): bool
23
23
{
24
24
thrownew \RuntimeException('The method "handle()" should never be called (call "handleBatch()" instead). This is probably caused by a wrong "monolog" configuration. Please read EasyLogHandler README instructions to learn how to configure and use it.');
25
25
}
26
26
27
27
/**
28
28
* @param array $records
29
29
*/
30
-
publicfunctionhandleBatch(array$records)
30
+
publicfunctionhandleBatch(array$records): void
31
31
{
32
32
// if the log records were filtered (by channel, level, etc.) the array
33
33
// no longer contains consecutive numeric keys. Make them consecutive again
0 commit comments