Skip to content

Commit 0507e43

Browse files
authored
Merge pull request #1183 from discord-php/docs-fix-collecetion-typo
docs(guilds): fix typo collecetion builddocs
2 parents 163be3e + bf18049 commit 0507e43

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/pages/api/03_events/04_guilds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ $discord->on(Event::GUILD_EMOJIS_UPDATE, function (Collection $emojis, Discord $
113113
Called with two Collections of `Sticker` objects when a guild's stickers have been added/updated/deleted. `$oldStickers` _may_ be empty if it was not cached or there were previously no stickers.
114114

115115
```php
116-
$discord->on(Event::GUILD_STICKERS_UPDATE, function (Collection $stickers, Discord $discord, Collecetion $oldStickers) {
116+
$discord->on(Event::GUILD_STICKERS_UPDATE, function (Collection $stickers, Discord $discord, Collection $oldStickers) {
117117
// ...
118118
});
119119
```

guide/events/guilds.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Called with two Collections of ``Sticker`` objects when a guild’s stickers hav
113113

114114
.. code:: php
115115
116-
$discord->on(Event::GUILD_STICKERS_UPDATE, function (Collection $stickers, Discord $discord, Collecetion $oldStickers) {
116+
$discord->on(Event::GUILD_STICKERS_UPDATE, function (Collection $stickers, Discord $discord, Collection $oldStickers) {
117117
// ...
118118
});
119119

0 commit comments

Comments
 (0)