Incorrect Syntax in Documentation Code Example
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 65/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- php
- Domain
- documentation
Research direction
Open the linked PHP documentation page and find the “Adding members or moderators” code example. Check the channel member call shown there and correct the syntax to match the issue’s example. Done means the displayed PHP example uses the correct operator and remains readable in the rendered documentation.
Written by the indexing model from the issue text.
Description
The code example in the documentation seems incorrect. It should use -> instead of . like $channel->addMembers([...]).
https://getstream.io/chat/docs/php/?language=php#adding-members-or-moderators
- Dominant language
- PHP
- Stars
- 29
- Forks
- 9
- Avg merge
- 11h 38m
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GetStream/stream-chat-php
-
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
GetStream/stream-chat-php#163 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
GetStream/stream-chat-php#151 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
GetStream/stream-chat-php#114 · 2 comments ·
All issues in GetStream/stream-chat-php
Similar issues
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/fulltextsearch#1011 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Automattic/static-site-importer#1767 ·