Skip to content

Commit c33dd67

Browse files
authored
Fix registerBundle signature for SF 5.1
1 parent 375fbd1 commit c33dd67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/demo_app/src/DefaultKernel.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
class DefaultKernel extends AbstractKernel
99
{
10-
public function registerBundles()
10+
public function registerBundles(): iterable
1111
{
1212
$contents = require $this->getProjectDir().'/'.$this->getConfigDirectory().'/bundles.php';
1313
foreach ($contents as $class => $envs) {

0 commit comments

Comments
 (0)