Skip to content

Commit

Permalink
Use Container typehint.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Aug 17, 2019
1 parent 0669a60 commit 90e8885
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MemoryServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Orchestra\Memory;

use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\Container\Container;
use Orchestra\Support\Providers\ServiceProvider;

class MemoryServiceProvider extends ServiceProvider
Expand All @@ -14,7 +14,7 @@ class MemoryServiceProvider extends ServiceProvider
*/
public function register()
{
$this->app->singleton('orchestra.memory', function (Application $app) {
$this->app->singleton('orchestra.memory', function (Container $app) {
$manager = new MemoryManager($app);
$namespace = $this->hasPackageRepository() ? 'orchestra/memory::' : 'orchestra.memory';

Expand Down

0 comments on commit 90e8885

Please sign in to comment.