Update AbstractPlatform.php