Mmoreram\PHPFormatter\Fixer\StrictFixer::__construct PHP Method

__construct() public method

Construct method.
public __construct ( boolean $strict )
$strict boolean
    public function __construct($strict)
    {
        if (is_bool($strict)) {
            $this->strict = $strict ? 'declare(strict_types=1);' : 'declare(strict_types=0);';
        }
    }