Skip to content

Commit 6a8c29c

Browse files
ajfickAJ Fick
authored andcommitted
Added return type void to match Monolog\Handler\AbstractProcessingHandler::write()
1 parent d05a3b2 commit 6a8c29c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DiscordHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function __construct($webhook, $name, $subname = '', $level = Logger::DEB
4343
* @param array $record
4444
* @throws \GuzzleHttp\Exception\GuzzleException
4545
*/
46-
protected function write(array $record)
46+
protected function write(array $record): void
4747
{
4848
$formatter = new LineFormatter(null, null, true, true);
4949
$formatter->includeStacktraces();

0 commit comments

Comments
 (0)