Open ThunderITA opened 7 years ago
I try, but php give me error. PHP not accept: private $var = [array]; I find this issue in /src/CodiceFiscale/Calculator.php
I change in caluator class all private vars:
private $mesi = ['A', 'B', 'C', 'D', 'E', 'H', 'L', 'M', 'P', 'R', 'S', 'T']; to private $mesi = array('A', 'B', 'C', 'D', 'E', 'H', 'L', 'M', 'P', 'R', 'S', 'T');
@ThunderITA you need PHP >= 5.4 as stated in composer.
I'm pretty sure you don't manage this with composer, otherwise you won't be able to download it.
I try, but php give me error. PHP not accept: private $var = [array]; I find this issue in /src/CodiceFiscale/Calculator.php
I change in caluator class all private vars:
private $mesi = ['A', 'B', 'C', 'D', 'E', 'H', 'L', 'M', 'P', 'R', 'S', 'T']; to private $mesi = array('A', 'B', 'C', 'D', 'E', 'H', 'L', 'M', 'P', 'R', 'S', 'T');