1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 01:06:48 +02:00

Merge pull request #6815 from rxu/ticket/17512

[ticket/17512] Add PHP Sniffer coding standard for union types
This commit is contained in:
Marc Alexander
2025-05-19 18:01:10 +02:00
committed by GitHub
3 changed files with 121 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ class loader_resolver implements LoaderResolverInterface
/**
* {@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 */
foreach ($this->loaders as $loader)