-
Notifications
You must be signed in to change notification settings - Fork 21
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
Typehints for ALPHA7 #83
base: master
Are you sure you want to change the base?
Conversation
@@ -49,11 +49,11 @@ public function getMessage(string $key, string $default) : string{ | |||
/** | |||
* @return HereAuth | |||
*/ | |||
public function getPlugin(){ | |||
public function getPlugin() : \pocketmine\plugin\Plugin { |
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 FQN?
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.
changed it
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.
You didn't update the declared API version.
Done |
ALPHA8 is coming soon though. I'll wait for it before updating. |
What should i do whit this error in ALPHA7? 14.09 11:50:18 [Server] Server thread/CRITICAL Could not pass event 'pocketmine\event\server\DataPacketSendEvent' to 'LeoHarduA v4.0.0': Return value of pocketmine\entity\Entity::getId() must be of the type integer, null returned on HereAuth\EventRouter |
Introduction
Relevant issues
Fixes #80
Changes (ABC)
API changes
Allows for 3.0.0-ALPHA7
Behavioural changes
Configuration changes
Backwards compatibility
None
Follow-up
Sorry about the last pr, was really messy
Tests