Skip to content

array() into calculator class #10

@ThunderITA

Description

@ThunderITA

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');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions