Skip to content

Commit 38966f8

Browse files
committed
Add return types
1 parent c21418d commit 38966f8

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

CraueFormFlowBundle.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ class CraueFormFlowBundle extends Bundle {
1515
/**
1616
* @return void
1717
*/
18-
public function boot() {
18+
public function boot(): void
19+
{
1920
/*
2021
* Removes all temporary files created while handling file uploads.
2122
* Use a shutdown function to clean up even in case of a fatal error.

DependencyInjection/CraueFormFlowExtension.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ class CraueFormFlowExtension extends Extension implements CompilerPassInterface
2323
/**
2424
* @return void
2525
*/
26-
public function load(array $config, ContainerBuilder $container) {
26+
public function load(array $config, ContainerBuilder $container): void
27+
{
2728
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
2829
$loader->load('form_flow.xml');
2930
$loader->load('twig.xml');
@@ -35,7 +36,8 @@ public function load(array $config, ContainerBuilder $container) {
3536
/**
3637
* @return void
3738
*/
38-
public function process(ContainerBuilder $container) {
39+
public function process(ContainerBuilder $container): void
40+
{
3941
$baseFlowDefinitionMethodCalls = $container->getDefinition('craue.form.flow')->getMethodCalls();
4042

4143
foreach (array_keys($container->findTaggedServiceIds(self::FORM_FLOW_TAG)) as $id) {

0 commit comments

Comments
 (0)