How to change capitalization on model label?

Hey all a resource for my model QrCodes, in this model I have set the model label the following way:
    public static function getModelLabel(): string
    {
        return __('QR access code');
    }

    public static function getPluralModelLabel(): string
    {
        return __('QR access codes');
    }

The problem im having is that its displaying Qr Access Codes instead of QR access codes.
According to the documentation you can prevent default the default capitalization in the following way:
protected static bool $hasTitleCaseModelLabel = false;

https://filamentphp.com/docs/3.x/panels/resources/getting-started#automatic-model-label-capitalization

But variable is not reconized and doesn't do anything. So my question is if anybody knows how I might solve this problem.
Was this page helpful?