Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Aug 22, 2023
1 parent 284ab94 commit bdd28ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
},
"require-dev": {
"laravel/pint": "^1.4",
"orchestra/canvas": "^7.0",
"phpstan/phpstan": "^1.9.14"
},
"extra": {
Expand Down
4 changes: 4 additions & 0 deletions src/Concerns/CanServeSite.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ public function beforeServingApplication(Closure $closure): void
$app = $this->app;

after_resolving($app, 'config', static function ($config, $app) use ($closure) {
/**
* @var \Illuminate\Foundation\Application $app
* @var \Illuminate\Contracts\Config\Repository $config
*/
$closure($app, $config);
});

Expand Down

0 comments on commit bdd28ac

Please sign in to comment.