Fix multiple routes not working when Logger enabled beyondcode#412

This commit is contained in:
Adrien Foulon 2020-07-04 15:51:24 +02:00 committed by GitHub
parent c5c11612e3
commit 2fe5d60972
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ class WebsocketsLogger extends Logger implements MessageComponentInterface
public static function decorate(MessageComponentInterface $app): self
{
$logger = app(self::class);
$logger = clone app(self::class);
return $logger->setApp($app);
}