generate-enumerable-trait.php: Remove unused code