@@ -47,9 +47,9 @@  | 
                                                    ||
| 47 | 47 | |
| 48 | 48 | private function determine(): void  | 
                                                        
| 49 | 49 |      { | 
                                                        
| 50 | -         foreach (self::DEFINABLE_TYPES_MAP as $typeClass) { | 
                                                        |
| 51 | - /** @var TypeCastInterface $type */  | 
                                                        |
| 52 | - $type = new $typeClass($this->originalValue);  | 
                                                        |
| 50 | +            foreach (self::DEFINABLE_TYPES_MAP as $typeClass) { | 
                                                        |
| 51 | + /** @var TypeCastInterface $type */  | 
                                                        |
| 52 | + $type = new $typeClass($this->originalValue);  | 
                                                        |
| 53 | 53 |              if ($type->isPossible()){ | 
                                                        
| 54 | 54 | $this->castedValue = $type->getCastedValue();  | 
                                                        
| 55 | 55 | break;  | 
                                                        
@@ -32,7 +32,7 @@ discard block  | 
                                                    ||
| 32 | 32 | Int16Type::class  | 
                                                        
| 33 | 33 | ];  | 
                                                        
| 34 | 34 | |
| 35 | - private float|bool|int|string|null $castedValue;  | 
                                                        |
| 35 | + private float | bool | int | string | null $castedValue;  | 
                                                        |
| 36 | 36 | |
| 37 | 37 | public function __construct(private string $originalValue)  | 
                                                        
| 38 | 38 |      { | 
                                                        
@@ -40,7 +40,7 @@ discard block  | 
                                                    ||
| 40 | 40 | $this->determine();  | 
                                                        
| 41 | 41 | }  | 
                                                        
| 42 | 42 | |
| 43 | - public static function castType(string|bool|int|float|null $value): string|bool|int|float|null  | 
                                                        |
| 43 | + public static function castType(string | bool | int | float | null $value): string | bool | int | float | null  | 
                                                        |
| 44 | 44 |      { | 
                                                        
| 45 | 45 |          if (gettype($value) !== 'string') { | 
                                                        
| 46 | 46 | return $value;  | 
                                                        
@@ -48,7 +48,7 @@ discard block  | 
                                                    ||
| 48 | 48 | return (new self($value))->getCastValue();  | 
                                                        
| 49 | 49 | }  | 
                                                        
| 50 | 50 | |
| 51 | - public function getCastValue(): float|bool|int|string|null  | 
                                                        |
| 51 | + public function getCastValue(): float | bool | int | string | null  | 
                                                        |
| 52 | 52 |      { | 
                                                        
| 53 | 53 | return $this->castedValue;  | 
                                                        
| 54 | 54 | }  | 
                                                        
@@ -58,7 +58,7 @@ discard block  | 
                                                    ||
| 58 | 58 |           foreach (self::DEFINABLE_TYPES_MAP as $typeClass) { | 
                                                        
| 59 | 59 | /** @var TypeCastInterface $type */  | 
                                                        
| 60 | 60 | $type = new $typeClass($this->originalValue);  | 
                                                        
| 61 | -            if ($type->isPossible()){ | 
                                                        |
| 61 | +            if ($type->isPossible()) { | 
                                                        |
| 62 | 62 | $this->castedValue = $type->getCastedValue();  | 
                                                        
| 63 | 63 | break;  | 
                                                        
| 64 | 64 | }  | 
                                                        
@@ -14,7 +14,7 @@ discard block  | 
                                                    ||
| 14 | 14 |      { | 
                                                        
| 15 | 15 | }  | 
                                                        
| 16 | 16 | |
| 17 | - public static function scalarValueToString(string|bool|int|float|null $value): string  | 
                                                        |
| 17 | + public static function scalarValueToString(string | bool | int | float | null $value): string  | 
                                                        |
| 18 | 18 |      { | 
                                                        
| 19 | 19 |          if (gettype($value) === 'boolean') { | 
                                                        
| 20 | 20 | return $value ? 'true' : 'false';  | 
                                                        
@@ -29,7 +29,7 @@ discard block  | 
                                                    ||
| 29 | 29 | }  | 
                                                        
| 30 | 30 | $result = preg_replace_callback(  | 
                                                        
| 31 | 31 |              '/(\${(?<variable>.+?)(?<default_value>:[-=?][^}]*)?})/', | 
                                                        
| 32 | -            function (array $matches): string { | 
                                                        |
| 32 | +            function(array $matches): string { | 
                                                        |
| 33 | 33 | $env = getenv($matches['variable']) ?: null;  | 
                                                        
| 34 | 34 | |
| 35 | 35 | /** @var string|bool|int|float|null $val */  |