Skip to content

Commit 67f5d9a

Browse files
Merge branch '4.4' into 5.3
* 4.4: [HttpClient] Remove deprecated usage of `GuzzleHttp\Promise\queue` [PropertyAccess] Fix handling of uninitialized property of anonymous class [DependencyInjection] fix test ResolveBindingsPass remove loading of class iterable [FrameworkBundle] Avoid calling rtrim(null, '/') in AssetsInstallCommand [DependencyInjection] Fix nested env var with resolve processor Allow OutputFormatter::escape() to be used for escaping URLs used in <href> allow a zero time-limit [DependencyInjection] Ignore argument type check in CheckTypeDeclarationsPass if it's a Definition with a factory [Validators] Add translations for Slovak #43735
2 parents 589155d + 5ae3655 commit 67f5d9a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Command/AssetsInstallCommand.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
9696
{
9797
/** @var KernelInterface $kernel */
9898
$kernel = $this->getApplication()->getKernel();
99-
$targetArg = rtrim($input->getArgument('target'), '/');
100-
99+
$targetArg = rtrim($input->getArgument('target') ?? '', '/');
101100
if (!$targetArg) {
102101
$targetArg = $this->getPublicDirectory($kernel->getContainer());
103102
}

0 commit comments

Comments
 (0)