CallbackInventoryChangeListener: fix use of tab instead of space

This commit is contained in:
Dylan K. Taylor 2020-02-07 19:28:43 +00:00
parent 31405f7587
commit 3a9e6bb612

View File

@ -46,7 +46,7 @@ class CallbackInventoryChangeListener implements InventoryChangeListener{
*/
public function __construct(?\Closure $onSlotChange, ?\Closure $onContentChange){
if($onSlotChange !== null){
Utils::validateCallableSignature(function(Inventory $inventory, int $slot){}, $onSlotChange);
Utils::validateCallableSignature(function(Inventory $inventory, int $slot){}, $onSlotChange);
}
if($onContentChange !== null){
Utils::validateCallableSignature(function(Inventory $inventory){}, $onContentChange);