Skip to content

Commit

Permalink
fix: support lumen10
Browse files Browse the repository at this point in the history
  • Loading branch information
jiannei committed Oct 14, 2023
1 parent d019490 commit 4a43eee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Providers/LaravelServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

namespace Jiannei\Response\Laravel\Providers;

use Illuminate\Foundation\Application;
use Illuminate\Support\ServiceProvider;
use Jiannei\Response\Laravel\Contract\ResponseFormat;
use Jiannei\Response\Laravel\Support\Format;
Expand All @@ -22,7 +21,7 @@ public function register()
{
$this->setupConfig();

$this->app->singleton(ResponseFormat::class, function (Application $app) {
$this->app->singleton(ResponseFormat::class, function ($app) {
$formatter = $app->config->get('response.format.class');
$config = $app->config->get('response.format.config');

Expand Down

0 comments on commit 4a43eee

Please sign in to comment.