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