Do not include traits twice

This commit is contained in:
Daniil Gentili 2019-05-12 21:03:13 +02:00
parent 92635c7948
commit 56bce59cdb
5 changed files with 2 additions and 4 deletions

View File

@ -1,5 +1,6 @@
#!/usr/bin/env php
<?php
/*
Copyright 2016-2018 Daniil Gentili
(https://daniil.it)
@ -306,4 +307,5 @@ foreach (['my_users', 'times', 'times_messages', 'calls'] as $key) {
}
$MadelineProto->setEventHandler('\EventHandler');
$MadelineProto->loop();

View File

@ -34,7 +34,6 @@ use danog\MadelineProto\Tools;
class HttpStream implements MTProtoBufferInterface, BufferedProxyStreamInterface
{
use BufferedStream;
use Tools;
private $stream;
private $code;
private $ctx;

View File

@ -35,7 +35,6 @@ use danog\MadelineProto\Tools;
class IntermediatePaddedStream implements BufferedStreamInterface, MTProtoBufferInterface
{
use BufferedStream;
use Tools;
private $stream;
/**

View File

@ -35,7 +35,6 @@ use danog\MadelineProto\Tools;
*/
class ObfuscatedStream implements BufferedProxyStreamInterface
{
use Tools;
use Buffer;
use BufferedStream;
private $encrypt;

View File

@ -43,7 +43,6 @@ use function Amp\Websocket\validateAcceptForKey;
class WsStream implements RawStreamInterface
{
use RawStream;
use Tools;
private $stream;
private $message;