From 2a6b4556a2bbf2a37837c64143e7110aa7943e75 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 26 Jun 2024 19:14:47 +0200 Subject: [PATCH] Bump --- docs/PHP/danog/MadelineProto/API.md | 10 ++++++++-- docs/PHP/danog/MadelineProto/EventHandler.md | 10 ++++++++-- .../MadelineProto/EventHandler/Plugin/RestartPlugin.md | 10 ++++++++-- docs/PHP/danog/MadelineProto/PluginEventHandler.md | 10 ++++++++-- docs/PHP/danog/MadelineProto/SimpleEventHandler.md | 10 ++++++++-- 5 files changed, 40 insertions(+), 10 deletions(-) diff --git a/docs/PHP/danog/MadelineProto/API.md b/docs/PHP/danog/MadelineProto/API.md index cd3e008039..67a7b3cebd 100644 --- a/docs/PHP/danog/MadelineProto/API.md +++ b/docs/PHP/danog/MadelineProto/API.md @@ -126,7 +126,7 @@ Main API wrapper for MadelineProto. * [`extractMessageId(array $updates): int`](#extractMessageId) * [`extractMessageUpdate(array $updates): array`](#extractMessageUpdate) * [`extractUpdates(array $updates): array`](#extractUpdates) -* [`fileGetContents(string $url): string`](#fileGetContents) +* [`fileGetContents(string $url, ?\Amp\Cancellation $cancellation = NULL): string`](#fileGetContents) * [`flock(string $file, integer $operation, float $polling = 0.1, ?\Amp\Cancellation $token = NULL, ?\Closure $failureCb = NULL): ($token is null ? Closure(): void : (Closure(): void | null))`](#flock) * [`fullChatLastUpdated(mixed $id): int`](#fullChatLastUpdated) * [`fullGetSelf(): array|false`](#fullGetSelf) @@ -1036,7 +1036,7 @@ Parameters: -### `fileGetContents(string $url): string` +### `fileGetContents(string $url, ?\Amp\Cancellation $cancellation = NULL): string` Get contents of remote file asynchronously. @@ -1044,6 +1044,12 @@ Get contents of remote file asynchronously. Parameters: * `$url`: `string` URL +* `$cancellation`: `?\Amp\Cancellation` + + +#### See also: +* `\Amp\Cancellation` + diff --git a/docs/PHP/danog/MadelineProto/EventHandler.md b/docs/PHP/danog/MadelineProto/EventHandler.md index b8086135cd..0b14ff0a13 100644 --- a/docs/PHP/danog/MadelineProto/EventHandler.md +++ b/docs/PHP/danog/MadelineProto/EventHandler.md @@ -91,7 +91,7 @@ Event handler. * [`extractMessageId(array $updates): int`](#extractMessageId) * [`extractMessageUpdate(array $updates): array`](#extractMessageUpdate) * [`extractUpdates(array $updates): array`](#extractUpdates) -* [`fileGetContents(string $url): string`](#fileGetContents) +* [`fileGetContents(string $url, ?\Amp\Cancellation $cancellation = NULL): string`](#fileGetContents) * [`flock(string $file, integer $operation, float $polling = 0.1, ?\Amp\Cancellation $token = NULL, ?\Closure $failureCb = NULL): ($token is null ? Closure(): void : (Closure(): void | null))`](#flock) * [`fullChatLastUpdated(mixed $id): int`](#fullChatLastUpdated) * [`fullGetSelf(): array|false`](#fullGetSelf) @@ -1044,7 +1044,7 @@ Parameters: -### `fileGetContents(string $url): string` +### `fileGetContents(string $url, ?\Amp\Cancellation $cancellation = NULL): string` Get contents of remote file asynchronously. @@ -1052,6 +1052,12 @@ Get contents of remote file asynchronously. Parameters: * `$url`: `string` URL +* `$cancellation`: `?\Amp\Cancellation` + + +#### See also: +* `\Amp\Cancellation` + diff --git a/docs/PHP/danog/MadelineProto/EventHandler/Plugin/RestartPlugin.md b/docs/PHP/danog/MadelineProto/EventHandler/Plugin/RestartPlugin.md index 3f05264d81..d87491ba44 100644 --- a/docs/PHP/danog/MadelineProto/EventHandler/Plugin/RestartPlugin.md +++ b/docs/PHP/danog/MadelineProto/EventHandler/Plugin/RestartPlugin.md @@ -93,7 +93,7 @@ Plugin that offers a /restart command to admins that can be used to restart the * [`extractMessageId(array $updates): int`](#extractMessageId) * [`extractMessageUpdate(array $updates): array`](#extractMessageUpdate) * [`extractUpdates(array $updates): array`](#extractUpdates) -* [`fileGetContents(string $url): string`](#fileGetContents) +* [`fileGetContents(string $url, ?\Amp\Cancellation $cancellation = NULL): string`](#fileGetContents) * [`flock(string $file, integer $operation, float $polling = 0.1, ?\Amp\Cancellation $token = NULL, ?\Closure $failureCb = NULL): ($token is null ? Closure(): void : (Closure(): void | null))`](#flock) * [`fullChatLastUpdated(mixed $id): int`](#fullChatLastUpdated) * [`fullGetSelf(): array|false`](#fullGetSelf) @@ -1060,7 +1060,7 @@ Parameters: -### `fileGetContents(string $url): string` +### `fileGetContents(string $url, ?\Amp\Cancellation $cancellation = NULL): string` Get contents of remote file asynchronously. @@ -1068,6 +1068,12 @@ Get contents of remote file asynchronously. Parameters: * `$url`: `string` URL +* `$cancellation`: `?\Amp\Cancellation` + + +#### See also: +* `\Amp\Cancellation` + diff --git a/docs/PHP/danog/MadelineProto/PluginEventHandler.md b/docs/PHP/danog/MadelineProto/PluginEventHandler.md index 5bfab6ce42..f9707970ac 100644 --- a/docs/PHP/danog/MadelineProto/PluginEventHandler.md +++ b/docs/PHP/danog/MadelineProto/PluginEventHandler.md @@ -92,7 +92,7 @@ Plugin event handler class. * [`extractMessageId(array $updates): int`](#extractMessageId) * [`extractMessageUpdate(array $updates): array`](#extractMessageUpdate) * [`extractUpdates(array $updates): array`](#extractUpdates) -* [`fileGetContents(string $url): string`](#fileGetContents) +* [`fileGetContents(string $url, ?\Amp\Cancellation $cancellation = NULL): string`](#fileGetContents) * [`flock(string $file, integer $operation, float $polling = 0.1, ?\Amp\Cancellation $token = NULL, ?\Closure $failureCb = NULL): ($token is null ? Closure(): void : (Closure(): void | null))`](#flock) * [`fullChatLastUpdated(mixed $id): int`](#fullChatLastUpdated) * [`fullGetSelf(): array|false`](#fullGetSelf) @@ -1043,7 +1043,7 @@ Parameters: -### `fileGetContents(string $url): string` +### `fileGetContents(string $url, ?\Amp\Cancellation $cancellation = NULL): string` Get contents of remote file asynchronously. @@ -1051,6 +1051,12 @@ Get contents of remote file asynchronously. Parameters: * `$url`: `string` URL +* `$cancellation`: `?\Amp\Cancellation` + + +#### See also: +* `\Amp\Cancellation` + diff --git a/docs/PHP/danog/MadelineProto/SimpleEventHandler.md b/docs/PHP/danog/MadelineProto/SimpleEventHandler.md index feb2f3c3f5..62657a6282 100644 --- a/docs/PHP/danog/MadelineProto/SimpleEventHandler.md +++ b/docs/PHP/danog/MadelineProto/SimpleEventHandler.md @@ -91,7 +91,7 @@ Simple event handler class: by extending this class, you can use filters, crons * [`extractMessageId(array $updates): int`](#extractMessageId) * [`extractMessageUpdate(array $updates): array`](#extractMessageUpdate) * [`extractUpdates(array $updates): array`](#extractUpdates) -* [`fileGetContents(string $url): string`](#fileGetContents) +* [`fileGetContents(string $url, ?\Amp\Cancellation $cancellation = NULL): string`](#fileGetContents) * [`flock(string $file, integer $operation, float $polling = 0.1, ?\Amp\Cancellation $token = NULL, ?\Closure $failureCb = NULL): ($token is null ? Closure(): void : (Closure(): void | null))`](#flock) * [`fullChatLastUpdated(mixed $id): int`](#fullChatLastUpdated) * [`fullGetSelf(): array|false`](#fullGetSelf) @@ -1044,7 +1044,7 @@ Parameters: -### `fileGetContents(string $url): string` +### `fileGetContents(string $url, ?\Amp\Cancellation $cancellation = NULL): string` Get contents of remote file asynchronously. @@ -1052,6 +1052,12 @@ Get contents of remote file asynchronously. Parameters: * `$url`: `string` URL +* `$cancellation`: `?\Amp\Cancellation` + + +#### See also: +* `\Amp\Cancellation` +