[HttpKernel] Allow generators in registerBundle

This commit is contained in:
Gabriel Ostrolucký 2018-03-17 13:20:09 +01:00 committed by GitHub
parent 866a1429b7
commit f36cfd4fc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ interface KernelInterface extends HttpKernelInterface, \Serializable
/**
* Returns an array of bundles to register.
*
* @return BundleInterface[] An array of bundle instances
* @return iterable|BundleInterface[] An iterable of bundle instances
*/
public function registerBundles();