nextcloud-server/lib/public/Files
Ferdinand Thiessen d5efd17942
fix(IMimeTypeDetector): use correct return type
In PHP array keys that are integers are always kept as integer,
meaning the type of the key of `$a = ["1" => "one"]` will be integer not
string.
While are hacks to circumvent this (case std object with string keys to
an assoc. array) those hacks are performance wise awefull and also not
needed as in PHP you can always access that element with `$a[1]` or
`$a["1"]`.

So TL;DR;: do not lie about return types.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-18 15:34:28 +07:00
..
AppData chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Cache fix: don't use cached root info from shared cache if the watcher has detected an update 2025-02-06 19:41:43 +07:00
Config chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Conversion fix(files): conversion api simplification and conflict check 2025-01-16 18:35:40 +07:00
Events fix(dav): Emit `BeforeZipCreatedEvent` when creating folder zip archive 2024-09-29 13:29:04 +07:00
Lock chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +07:00
Mount feat(Files\Mount): Add IShareOwnerlessMount 2024-11-25 09:56:02 +07:00
Notify chore: Add SPDX header 2024-05-24 13:11:22 +07:00
ObjectStore chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Search chore: Add SPDX header 2024-05-24 13:11:22 +07:00
SimpleFS chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Storage refactor(Storage): Make all parameter types strong types 2024-10-07 15:00:05 +07:00
Template docs: Use proper return type for custom template listing 2025-01-15 12:18:29 +07:00
AlreadyExistsException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
ConnectionLostException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
DavUtil.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
EmptyFileNameException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
EntityTooLargeException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
File.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
FileInfo.php chore: Improve isEncrypted description 2024-08-27 10:52:35 +07:00
FileNameTooLongException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Folder.php docs: Folder.get throws a NotPermittedException exception 2024-09-30 19:00:36 +07:00
ForbiddenException.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +07:00
GenericFileException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
IAppData.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
IFilenameValidator.php feat: Add `IFilenameValidator` to have one consistent place for filename validation 2024-07-09 15:04:34 +07:00
IHomeStorage.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
IMimeTypeDetector.php fix(IMimeTypeDetector): use correct return type 2025-03-18 15:34:28 +07:00
IMimeTypeLoader.php fix: psalm and OCP @since declarations 2025-02-06 15:21:18 +07:00
IRootFolder.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
InvalidCharacterInPathException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
InvalidContentException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
InvalidDirectoryException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
InvalidPathException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
LockNotAcquiredException.php refactor: Replace __CLASS__ with ::class references 2024-09-15 21:40:55 +07:00
Node.php chore: Use more gender neutral language 2024-10-14 13:59:24 +07:00
NotEnoughSpaceException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
NotFoundException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
NotPermittedException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
ReservedWordException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
StorageAuthException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
StorageBadConfigException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
StorageConnectionException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
StorageInvalidException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
StorageNotAvailableException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
StorageTimeoutException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
UnseekableException.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00