diff --git a/composer.lock b/composer.lock index 937baab06..d00d60514 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "bf8a060cc0075e345a7c0e8cc3d99ad5", - "content-hash": "2f241cb7dbf8d3d67d17fbead159145b", + "hash": "07a6861cc0286953f658e0d61d03c238", + "content-hash": "0637dff4a75ae6826badf8fae267a55b", "packages": [ { "name": "danog/phpstruct", @@ -263,6 +263,8 @@ "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, - "platform": [], + "platform": { + "php": ">=5.6.0" + }, "platform-dev": [] } diff --git a/src/danog/MadelineProto/mtproto.php b/src/danog/MadelineProto/mtproto.php index e39e29d26..4de293bc2 100755 --- a/src/danog/MadelineProto/mtproto.php +++ b/src/danog/MadelineProto/mtproto.php @@ -9,7 +9,7 @@ namespace danog\MadelineProto; /** * Manages encryption and message frames. */ -class mtproto extends Tools +class Session extends Tools { public $settings = []; diff --git a/vendor/composer/autoload_namespaces.php b/vendor/composer/autoload_namespaces.php index 171420d39..6c2f4bec7 100644 --- a/vendor/composer/autoload_namespaces.php +++ b/vendor/composer/autoload_namespaces.php @@ -7,4 +7,5 @@ $baseDir = dirname($vendorDir); return array( 'danog\\PHP\\' => array($vendorDir . '/danog/phpstruct/lib'), + 'danog\\MadelineProto\\' => array($baseDir . '/src'), ); diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 547c98a56..d48601f5c 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -40,6 +40,10 @@ class ComposerStaticInitbd69ed7fd0aebb6b1ba64b36dad1b458 array ( 0 => __DIR__ . '/..' . '/danog/phpstruct/lib', ), + 'danog\\MadelineProto\\' => + array ( + 0 => __DIR__ . '/../..' . '/src', + ), ), );