File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class Detection implements IMimeTypeDetector {
2323 private const CUSTOM_MIMETYPEMAPPING = 'mimetypemapping.json ' ;
2424 private const CUSTOM_MIMETYPEALIASES = 'mimetypealiases.json ' ;
2525
26- /** @var array<string, array {string, string|null}> */
26+ /** @var array<string, list {string, string|null}> */
2727 protected array $ mimetypes = [];
2828 protected array $ secureMimeTypes = [];
2929
@@ -140,7 +140,7 @@ private function loadMappings(): void {
140140 }
141141
142142 /**
143- * @return array<string, array {string, string|null}>
143+ * @return array<string, list {string, string|null}>
144144 */
145145 public function getAllMappings (): array {
146146 $ this ->loadMappings ();
Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ public function mimeTypeIcon($mimeType);
7575 public function getAllAliases (): array ;
7676
7777 /**
78- * @return array<string,string>
79- * @since 8.2 .0
78+ * @return array<string, list{ string, string|null} >
79+ * @since 32.0 .0
8080 */
8181 public function getAllMappings (): array ;
8282}
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public function reset(): void;
5454 * @param string $ext
5555 * @param int $mimeTypeId
5656 * @return int
57- * @since 8.2 .0
57+ * @since 32.0 .0
5858 */
5959 public function updateFilecache (string $ ext , int $ mimeTypeId ): int ;
6060}
You can’t perform that action at this time.
0 commit comments