antonioribeiro / firewall

Firewall package for Laravel applications
BSD 3-Clause "New" or "Revised" License
1.39k stars 162 forks source link

after "composer update", Notice: Undefined offset: 1 in IpAddress::cidrToRange continues reproducing #160

Closed nachete1987 closed 4 years ago

nachete1987 commented 4 years ago

after "composer update", Notice: Undefined offset: 1 in IpAddress::cidrToRange continues reproducing.

nachete1987 commented 4 years ago

Somebody with the same problem or just me?

nachete1987 commented 4 years ago

The problems was inside composer.json in my not fresh install laravel, support package was ^0.8.0 so the new version 0.9.0 not download. I change my main composer.json to ^0.9.0 and after composer update, new support package version was downloaded. I see now the if statement in IpAddress.php class