From 81d92207ed66fa32613b5e50f02474809b7d11dd Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Mon, 4 Mar 2019 11:45:36 -0500 Subject: [PATCH] Add support for \Illuminate\Contracts\Container\Container::offsetGet --- src/AppInterfaceProvider.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/AppInterfaceProvider.php b/src/AppInterfaceProvider.php index 8a14a87d..8fc31e15 100644 --- a/src/AppInterfaceProvider.php +++ b/src/AppInterfaceProvider.php @@ -16,7 +16,10 @@ class AppInterfaceProvider implements { public static function getClassLikeNames() : array { - return [\Illuminate\Contracts\Foundation\Application::class]; + return [ + \Illuminate\Contracts\Foundation\Application::class, + \Illuminate\Contracts\Container\Container::class + ]; } /**