Skip to content

Commit

Permalink
Add support for \Illuminate\Contracts\Container\Container::offsetGet
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug authored Mar 4, 2019
1 parent 259d033 commit 81d9220
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/AppInterfaceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
}

/**
Expand Down

0 comments on commit 81d9220

Please sign in to comment.