Skip to content

Commit 4e53a5e

Browse files
Fix CS regarding nullable arguments
1 parent 34b05ca commit 4e53a5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DataCollector/LoggerDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ private function getContainerDeprecationLogs()
149149
return $logs;
150150
}
151151

152-
private function getContainerCompilerLogs(?string $compilerLogsFilepath = null): array
152+
private function getContainerCompilerLogs(string $compilerLogsFilepath = null): array
153153
{
154154
if (!file_exists($compilerLogsFilepath)) {
155155
return [];

EventListener/LocaleAwareListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static function getSubscribedEvents()
6363
];
6464
}
6565

66-
private function setLocale(string $locale, ?string $defaultLocale = null): void
66+
private function setLocale(string $locale, string $defaultLocale = null): void
6767
{
6868
foreach ($this->localeAwareServices as $service) {
6969
try {

0 commit comments

Comments
 (0)