Do not include traits twice
This commit is contained in:
parent
92635c7948
commit
56bce59cdb
@ -1,5 +1,6 @@
|
|||||||
#!/usr/bin/env php
|
#!/usr/bin/env php
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2016-2018 Daniil Gentili
|
Copyright 2016-2018 Daniil Gentili
|
||||||
(https://daniil.it)
|
(https://daniil.it)
|
||||||
@ -306,4 +307,5 @@ foreach (['my_users', 'times', 'times_messages', 'calls'] as $key) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$MadelineProto->setEventHandler('\EventHandler');
|
$MadelineProto->setEventHandler('\EventHandler');
|
||||||
|
|
||||||
$MadelineProto->loop();
|
$MadelineProto->loop();
|
||||||
|
@ -34,7 +34,6 @@ use danog\MadelineProto\Tools;
|
|||||||
class HttpStream implements MTProtoBufferInterface, BufferedProxyStreamInterface
|
class HttpStream implements MTProtoBufferInterface, BufferedProxyStreamInterface
|
||||||
{
|
{
|
||||||
use BufferedStream;
|
use BufferedStream;
|
||||||
use Tools;
|
|
||||||
private $stream;
|
private $stream;
|
||||||
private $code;
|
private $code;
|
||||||
private $ctx;
|
private $ctx;
|
||||||
|
@ -35,7 +35,6 @@ use danog\MadelineProto\Tools;
|
|||||||
class IntermediatePaddedStream implements BufferedStreamInterface, MTProtoBufferInterface
|
class IntermediatePaddedStream implements BufferedStreamInterface, MTProtoBufferInterface
|
||||||
{
|
{
|
||||||
use BufferedStream;
|
use BufferedStream;
|
||||||
use Tools;
|
|
||||||
private $stream;
|
private $stream;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -35,7 +35,6 @@ use danog\MadelineProto\Tools;
|
|||||||
*/
|
*/
|
||||||
class ObfuscatedStream implements BufferedProxyStreamInterface
|
class ObfuscatedStream implements BufferedProxyStreamInterface
|
||||||
{
|
{
|
||||||
use Tools;
|
|
||||||
use Buffer;
|
use Buffer;
|
||||||
use BufferedStream;
|
use BufferedStream;
|
||||||
private $encrypt;
|
private $encrypt;
|
||||||
|
@ -43,7 +43,6 @@ use function Amp\Websocket\validateAcceptForKey;
|
|||||||
class WsStream implements RawStreamInterface
|
class WsStream implements RawStreamInterface
|
||||||
{
|
{
|
||||||
use RawStream;
|
use RawStream;
|
||||||
use Tools;
|
|
||||||
|
|
||||||
private $stream;
|
private $stream;
|
||||||
private $message;
|
private $message;
|
||||||
|
Loading…
Reference in New Issue
Block a user