-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pluralize getMessageActions typo #113
base: master
Are you sure you want to change the base?
Conversation
@@ -17,7 +17,7 @@ class RemoveMessageAction extends Endpoint | |||
protected int $endpointConnectTimeout; | |||
protected int $endpointRequestTimeout; | |||
protected string $endpointHttpMethod = PNHttpMethod::DELETE; | |||
protected int $endpointOperationType = PNOperationType::PNGetMessageActionOperation; | |||
protected int $endpointOperationType = PNOperationType::PNRemoveMessageActionOperation; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By the way you found a bug?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. typical copy paste missed
src/PubNub/PubNub.php
Outdated
@@ -56,6 +57,7 @@ | |||
use Psr\Log\LoggerAwareInterface; | |||
use Psr\Log\NullLogger; | |||
use PubNub\Endpoints\FileSharing\{SendFile, DeleteFile, DownloadFile, GetFileDownloadUrl, ListFiles}; | |||
use PubNub\Endpoints\MessageActions\GetMessageAction; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this is not next to:
use PubNub\Endpoints\MessageActions\GetMessageActions;
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
autoimport messed this one up. fixed in new commit
fix: Pluralize getMessageActions and fix typing