Skip to content

Conversation

sweptsquash
Copy link
Contributor

This pull request introduces new repository imports to the ChannelTrait.php file, preparing the codebase for potential usage of member and message repositories in channel-related functionality.

Repository imports:

  • Added MemberRepository and MessageRepository imports to enable access to guild members and channel messages within channel traits.

Resolves PHPStan throwing:

Call to method get() on an unknown class                              
Discord\Parts\Channel\MessageRepository.                              
🪪  class.notFound                      

@valzargaming valzargaming merged commit 2a36b1c into discord-php:master Sep 1, 2025
1 check passed
@sweptsquash sweptsquash deleted the fix-missing-typehint-imports branch September 3, 2025 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants