diff --git a/docs b/docs
index 832a6d3cf..035145fd2 160000
--- a/docs
+++ b/docs
@@ -1 +1 @@
-Subproject commit 832a6d3cfe6e9790f00c0e65c7202e8e0fa6a553
+Subproject commit 035145fd21a2f8812f53b38e8a8c3636bb991a1b
diff --git a/psalm-baseline.xml b/psalm-baseline.xml
index 4851c7cc7..dfc04b726 100644
--- a/psalm-baseline.xml
+++ b/psalm-baseline.xml
@@ -34,6 +34,7 @@
API
API
API
+ API
@@ -221,8 +222,6 @@
$config
$config
withDatabase(null)]]>
- getIdleTimeout()]]>
- getMaxConnections()]]>
@@ -823,6 +822,7 @@
payments ??= new \danog\MadelineProto\Namespace\AbstractAPI('payments')]]>
phone ??= new \danog\MadelineProto\Namespace\AbstractAPI('phone')]]>
photos ??= new \danog\MadelineProto\Namespace\AbstractAPI('photos')]]>
+ premium ??= new \danog\MadelineProto\Namespace\AbstractAPI('premium')]]>
stats ??= new \danog\MadelineProto\Namespace\AbstractAPI('stats')]]>
stickers ??= new \danog\MadelineProto\Namespace\AbstractAPI('stickers')]]>
stories ??= new \danog\MadelineProto\Namespace\AbstractAPI('stories')]]>
@@ -850,6 +850,7 @@
setWrapper
setWrapper
setWrapper
+ setWrapper
@@ -1486,7 +1487,6 @@
$messageMedia
- $old_dc
decrypt
@@ -1776,18 +1776,6 @@
-
- settings->getConnection()]]>
- settings->getLogger())) implements LoggerGetter {
- public function __construct(private Logger $logger)
- {
- }
- public function getLogger(): Logger
- {
- return $this->logger;
- }
- }]]>
-
completeLogin
createApp
@@ -1800,21 +1788,6 @@
$value
-
- settings->getConnection(),
- new class(new Logger($this->settings->getLogger())) implements LoggerGetter {
- public function __construct(private Logger $logger)
- {
- }
- public function getLogger(): Logger
- {
- return $this->logger;
- }
- },
- $this->jar
- )]]>
-
settings]]>
@@ -1827,6 +1800,58 @@
$wrapper
+
+
+ comments]]>
+ vendorString]]>
+
+
+ $offset
+ $offset
+ $offset
+ $offset
+ $offset
+ $offset
+ $size
+
+
+ currentDuration += $frameDuration]]>
+ currentDuration += $totalDuration]]>
+
+
+ stream)($headers['number_page_segments'])]]>
+ stream)(23)]]>
+
+
+ $cancel
+
+
+ $comments
+ $streamCount
+ $vendorString
+
+
+ $state === self::STATE_READ_COMMENT
+
+
+ $offset
+ $offset
+ $offset
+ $offset
+
+
+ stream)($headers['number_page_segments'])]]>
+ stream)($sizeAccumulated)]]>
+ stream)(23)]]>
+ stream)(4)]]>
+
+
+ ?FFI
+ FFI
+ FFI
+ int|CData $err
+
+
$file
diff --git a/psalm.xml b/psalm.xml
index f0980e0f6..4424d6725 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -18,7 +18,6 @@
-
diff --git a/src/LoggerGetter.php b/src/LoggerGetter.php
index 0851b1241..1f4abb94c 100644
--- a/src/LoggerGetter.php
+++ b/src/LoggerGetter.php
@@ -20,6 +20,7 @@ declare(strict_types=1);
namespace danog\MadelineProto;
+/** @internal */
interface LoggerGetter
{
public function getLogger(): Logger;