Added return types to closures.

This commit is contained in:
Andrey Savchenko committed 2018-11-30 15:05:54 +02:00
1 parent 204c1df755
commit 4013046e4f
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ class Manager_Provider implements ServiceProviderInterface, Bootable_Provider_In
*/
public function register( Container $pimple ): void {
$pimple['managers'] = function ( Plugin $laps ) {
$pimple['managers'] = function ( Plugin $laps ): array {
return [
new Load_Order_Manager(),
new Asset_Manager(),