Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 609b56a

Browse filesBrowse files
minor #26578 [HttpKernel] Allow generators in registerBundle (ostrolucky)
This PR was merged into the 3.4 branch. Discussion ---------- [HttpKernel] Allow generators in registerBundle | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Flex recipe [utilizes generator in Kernel.php](https://github.com/symfony/recipes/blob/a067bebf03a2b244cdf82dd4e3eff52de5320ac2/symfony/framework-bundle/3.3/src/Kernel.php#L33). This needs to be explicitly allowed in interface. Commits ------- f36cfd4 [HttpKernel] Allow generators in registerBundle
2 parents ae16d77 + f36cfd4 commit 609b56a
Copy full SHA for 609b56a

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/HttpKernel/KernelInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/KernelInterface.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ interface KernelInterface extends HttpKernelInterface, \Serializable
2727
/**
2828
* Returns an array of bundles to register.
2929
*
30-
* @return BundleInterface[] An array of bundle instances
30+
* @return iterable|BundleInterface[] An iterable of bundle instances
3131
*/
3232
public function registerBundles();
3333

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.