Weird composer issue or october/rain issue?

I tried to install 2 php composer libraries this morning for a plugin project.

composer require firebase/php-jwt

composer require phpseclib/phpseclib

and now I am stucked with this error when I try to access the backend or run any other composer command.

Unsupported operand types: array + int
~/vendor/october/rain/src/Config/Repository.php line 31
> System\Console\ComposerScript::postAutoloadDump

In Repository.php line 31:
                                          
  Unsupported operand types: array + int 

I’m running under php 8.1

Hi @chris,

Do you have an empty array in config/*.php ?

damn! better than that! my new plugin config file was absolutely blank LOL

thanks @apinard that must be it