Skip to content

Commit e1944e2

Browse files
committed
type hint
1 parent 127ea79 commit e1944e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Monolog/LogsHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ public function __construct(int $level = MonologLogger::DEBUG, bool $bubble = tr
3434
/**
3535
* @param array<string, mixed>|LogRecord $record
3636
*/
37-
public function isHandling(array $record): bool
37+
public function isHandling($record): bool
3838
{
3939
return $this->logsHandler->isHandling($record);
4040
}
4141

4242
/**
4343
* @param array<string, mixed>|LogRecord $record
4444
*/
45-
public function handle(array $record): bool
45+
public function handle($record): bool
4646
{
4747
// Extra check required here because `isHandling` is not guaranteed to
4848
// be called, and we might accidentally capture log messages that should be filtered.

0 commit comments

Comments
 (0)