Skip to content

Commit 15cf2dc

Browse files
committed
D10 function declaration fix
1 parent 4ddacf1 commit 15cf2dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Logger/AccessLogsDbLog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class AccessLogsDbLog implements LoggerInterface {
1717
/**
1818
* {@inheritdoc}
1919
*/
20-
public function log($level, $message, array $context = []) {
20+
public function log($level, $message, array $context = []):void {
2121
if (strlen($context['request_uri']) > AccessLog::REQUEST_URI_FIELD_MAX_LENGTH) {
2222
$request_uri = $context['request_uri'];
2323
$context['request_uri'] = substr($request_uri, 0, AccessLog::REQUEST_URI_FIELD_MAX_LENGTH);

0 commit comments

Comments
 (0)