Getting error below when I try to install using: composer require --dev ccinn/composer-husky-plugin ccinn/husky-php

I think it might be my PHP version (8.2).
Anyway, this fixes it (added [ ] brackets around variable):

I don't know the process here and I'm new to PHP but I could do a PR if that's ok?
Getting error below when I try to install using: composer require --dev ccinn/composer-husky-plugin ccinn/husky-php

I think it might be my PHP version (8.2).
Anyway, this fixes it (added [ ] brackets around variable):
I don't know the process here and I'm new to PHP but I could do a PR if that's ok?