Skip to content

Commit c8ffbda

Browse files
committed
Fix more generic types
Signed-off-by: Alexander M. Turek <me@derrabus.de>
1 parent 9b58162 commit c8ffbda

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class_exists(ConfigCache::class);
5858
abstract class Kernel implements KernelInterface, RebootableInterface, TerminableInterface
5959
{
6060
/**
61-
* @var BundleInterface[]
61+
* @var array<string, BundleInterface>
6262
*/
6363
protected $bundles = [];
6464

KernelInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ interface KernelInterface extends HttpKernelInterface
3131
/**
3232
* Returns an array of bundles to register.
3333
*
34-
* @return iterable<BundleInterface>
34+
* @return iterable<mixed, BundleInterface>
3535
*/
3636
public function registerBundles();
3737

@@ -55,7 +55,7 @@ public function shutdown();
5555
/**
5656
* Gets the registered bundle instances.
5757
*
58-
* @return BundleInterface[]
58+
* @return array<string, BundleInterface>
5959
*/
6060
public function getBundles();
6161

0 commit comments

Comments
 (0)