[ticket/17512] Fix the code layout error reported

PHPBB-17512
This commit is contained in:
rxu 2025-05-15 20:42:24 +07:00
parent 6a0c949ed1
commit 1cd17caf87
No known key found for this signature in database
GPG key ID: 955F0567380E586A

View file

@ -33,7 +33,7 @@ class loader_resolver implements LoaderResolverInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function resolve($resource, $type = null): false|\Symfony\Component\Config\Loader\LoaderInterface public function resolve($resource, $type = null): \Symfony\Component\Config\Loader\LoaderInterface|false
{ {
/** @var \Symfony\Component\Config\Loader\LoaderInterface $loader */ /** @var \Symfony\Component\Config\Loader\LoaderInterface $loader */
foreach ($this->loaders as $loader) foreach ($this->loaders as $loader)