Skip to content

Commit

Permalink
Fix kernels
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmy committed Feb 10, 2022
1 parent 11b7331 commit c24c4e5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions pkg/enqueue-bundle/Tests/Functional/App/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@

class AppKernel extends Kernel
{
/**
* @return array
*/
public function registerBundles()
public function registerBundles(): iterable
{
$bundles = [
new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function setEnqueueConfig(array $config)
$fs->mkdir(sys_get_temp_dir().'/EnqueueBundleCustom/cache/'.$this->enqueueConfigId);
}

public function registerBundles(): array
public function registerBundles(): iterable
{
$bundles = [
new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
Expand Down
2 changes: 1 addition & 1 deletion pkg/job-queue/Tests/Functional/app/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class AppKernel extends Kernel
{
public function registerBundles(): array
public function registerBundles(): iterable
{
$bundles = [
new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
Expand Down

0 comments on commit c24c4e5

Please sign in to comment.