null and void typehints

This commit is contained in:
Dylan K. Taylor
2017-09-21 12:54:04 +01:00
parent d89b8cf12e
commit f01ce8e994
21 changed files with 56 additions and 56 deletions

View File

@ -112,13 +112,13 @@ abstract class InventoryAction{
*
* @param Player $source
*/
abstract public function onExecuteSuccess(Player $source);
abstract public function onExecuteSuccess(Player $source) : void;
/**
* Performs additional actions when this inventory-action did not complete successfully.
*
* @param Player $source
*/
abstract public function onExecuteFail(Player $source);
abstract public function onExecuteFail(Player $source) : void;
}