Skip to content

Commit

Permalink
Reverts #669
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Apr 4, 2023
1 parent 66d46b3 commit 2018389
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/Listeners/GiveNewApplicationInstanceToSessionManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ class GiveNewApplicationInstanceToSessionManager
*/
public function handle($event): void
{
if (! $event->sandbox->resolved('session')) {
return;
}

with($event->sandbox->make('session'), function ($manager) use ($event) {
if (method_exists($manager, 'setContainer')) {
$manager->setContainer($event->sandbox);
}
});
//
}
}

0 comments on commit 2018389

Please sign in to comment.