Having the following PHP enum as an example:
<?php
namespace App\Enums;
use OpenSoutheners\LaravelHelpers\Enums\Description;
enum UserWorkspaceRole: int
{
use GetsAttributes; // this doesn't
#[Description('Viewer')] // this import works fine
case Viewer = 1;
}
Just try with whatever trait you have it fails as long as structure is of type enum (not happening to class)
OS: MacOS Sonoma (14.0)
Extension version: v1.40.14103 (stable)