Skip to content

Commit

Permalink
Remove unnecessary laravel config (#2796)
Browse files Browse the repository at this point in the history
  • Loading branch information
askvortsov1 authored Apr 29, 2021
1 parent 6b9e991 commit edaf45d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Foundation/InstalledSite.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,19 +153,15 @@ protected function bootLaravel(): Container
}

/**
* @param Application $app
* @return ConfigRepository
*/
protected function getIlluminateConfig(Application $app)
protected function getIlluminateConfig()
{
return new ConfigRepository([
'view' => [
'paths' => [],
'compiled' => $this->paths->storage.'/views',
],
'mail' => [
'driver' => 'mail',
],
'session' => [
'lifetime' => 120,
'files' => $this->paths->storage.'/sessions',
Expand Down

0 comments on commit edaf45d

Please sign in to comment.