Skip to content

Commit

Permalink
Fix symfony 6.3 depreciation (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
casahugo authored Nov 29, 2023
1 parent dc3dd8e commit 1752f6b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion DependencyInjection/CompilerPass/FormatsCompilerPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;

/**
* @internal
*/
class FormatsCompilerPass implements CompilerPassInterface
{
public function process(ContainerBuilder $container)
public function process(ContainerBuilder $container): void
{
$formats = $container->getDefinition('handcraftedinthealps_rest_routing.loader.yaml_collection')->getArgument(3);

Expand Down

0 comments on commit 1752f6b

Please sign in to comment.