Do not include traits twice
This commit is contained in:
parent
92635c7948
commit
56bce59cdb
@ -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();
|
||||
|
@ -34,7 +34,6 @@ use danog\MadelineProto\Tools;
|
||||
class HttpStream implements MTProtoBufferInterface, BufferedProxyStreamInterface
|
||||
{
|
||||
use BufferedStream;
|
||||
use Tools;
|
||||
private $stream;
|
||||
private $code;
|
||||
private $ctx;
|
||||
|
@ -35,7 +35,6 @@ use danog\MadelineProto\Tools;
|
||||
class IntermediatePaddedStream implements BufferedStreamInterface, MTProtoBufferInterface
|
||||
{
|
||||
use BufferedStream;
|
||||
use Tools;
|
||||
private $stream;
|
||||
|
||||
/**
|
||||
|
@ -35,7 +35,6 @@ use danog\MadelineProto\Tools;
|
||||
*/
|
||||
class ObfuscatedStream implements BufferedProxyStreamInterface
|
||||
{
|
||||
use Tools;
|
||||
use Buffer;
|
||||
use BufferedStream;
|
||||
private $encrypt;
|
||||
|
@ -43,7 +43,6 @@ use function Amp\Websocket\validateAcceptForKey;
|
||||
class WsStream implements RawStreamInterface
|
||||
{
|
||||
use RawStream;
|
||||
use Tools;
|
||||
|
||||
private $stream;
|
||||
private $message;
|
||||
|
Loading…
Reference in New Issue
Block a user