Skip to content

Commit 8e70bdb

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: [String] Add tests for AsciiSlugger [Serializer] Fix get accessor regex in AnnotationLoader [HttpKernel] Fix passing `null` to `\trim()` method in LoggerDataCollector Remove wrong PHPDoc [Translation] Crowdin provider throw Exception when status is 50x Always attempt to listen for notifications add missing changelog entry for the AtLeastOneOf constraint validate nested constraints only if they are in the same group
2 parents f1831fe + 20ca455 commit 8e70bdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataCollector/LoggerDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function getFilters()
144144

145145
$allChannels = [];
146146
foreach ($this->getProcessedLogs() as $log) {
147-
if ('' === trim($log['channel'])) {
147+
if ('' === trim($log['channel'] ?? '')) {
148148
continue;
149149
}
150150

0 commit comments

Comments
 (0)