@@ -50,7 +50,9 @@ |
||
50 | 50 | * @param MimeTypeMap $mapping An associative array containing two entries. |
51 | 51 | * See `MimeTypes` constructor for details. |
52 | 52 | */ |
53 | - private function __construct(protected array $mapping) {} |
|
53 | + private function __construct(protected array $mapping) |
|
54 | + { |
|
55 | +} |
|
54 | 56 | |
55 | 57 | #[\Override] |
56 | 58 | public function add(string $mime, string $extension, bool $prependExtension = true, bool $prependMime = true): void |
@@ -63,7 +63,7 @@ |
||
63 | 63 | /** |
64 | 64 | * @var ?MimeTypeMap The cached built-in mapping array. |
65 | 65 | */ |
66 | - private static ?array $builtIn = null; |
|
66 | + private static ? array $builtIn = null; |
|
67 | 67 | |
68 | 68 | /** |
69 | 69 | * Create a new mime types instance with the given mappings. |
@@ -78,7 +78,9 @@ |
||
78 | 78 | * |
79 | 79 | * @param non-empty-string $mimeTypesText The text from the mime.types file. |
80 | 80 | */ |
81 | - public function __construct(protected string $mimeTypesText) {} |
|
81 | + public function __construct(protected string $mimeTypesText) |
|
82 | + { |
|
83 | +} |
|
82 | 84 | |
83 | 85 | /** |
84 | 86 | * Generate the JSON from the mapCache. |
@@ -73,7 +73,7 @@ |
||
73 | 73 | * |
74 | 74 | * @return false|int The number of bytes that were written to the file, or false on failure. |
75 | 75 | */ |
76 | - public function save(string $file, int $flags = 0, mixed $context = null): false|int; |
|
76 | + public function save(string $file, int $flags = 0, mixed $context = null): false | int; |
|
77 | 77 | |
78 | 78 | /** |
79 | 79 | * Create a new mapping builder based on types from a file. |