danog / MadelineProto

Async PHP client API for the telegram MTProto protocol
https://docs.madelineproto.xyz
GNU Affero General Public License v3.0
2.86k stars 662 forks source link

method requires argument $index not $key or update doc block #1355

Closed Jake6199 closed 1 year ago

Jake6199 commented 1 year ago

The "danog\MadelineProto\Db\MemoryArray::set()" method will require a new "string|int $index" argument in the next major version of its interface "danog\MadelineProto\Db\DbArray", not defining it is deprecated. Screenshot 2023-06-05 134158

danog commented 1 year ago

The signatures should be consistent now.