diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-05-13 08:27:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-13 08:27:28 +0200 |
commit | fe33e9c08cbbc80738660d2d78838f04d24e0e2e (patch) | |
tree | feab7d407620addc9a7eb50f8bd5789e08434074 /lib/private/Files/AppData | |
parent | 48bb547e8a24dab04bcc18df9bf5f50aa6b7462a (diff) | |
parent | ec6b83cc1891214c7fa3a236626807b4335f9a2f (diff) | |
download | nextcloud-server-fe33e9c08cbbc80738660d2d78838f04d24e0e2e.tar.gz nextcloud-server-fe33e9c08cbbc80738660d2d78838f04d24e0e2e.zip |
Merge pull request #32250 from nextcloud/cleanup/cappedmemorycache
Diffstat (limited to 'lib/private/Files/AppData')
-rw-r--r-- | lib/private/Files/AppData/AppData.php | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/lib/private/Files/AppData/AppData.php b/lib/private/Files/AppData/AppData.php index 53f69be7127..471de799c2f 100644 --- a/lib/private/Files/AppData/AppData.php +++ b/lib/private/Files/AppData/AppData.php @@ -38,21 +38,12 @@ use OCP\Files\NotPermittedException; use OCP\Files\SimpleFS\ISimpleFolder; class AppData implements IAppData { - - /** @var IRootFolder */ - private $rootFolder; - - /** @var SystemConfig */ - private $config; - - /** @var string */ - private $appId; - - /** @var Folder */ - private $folder; - - /** @var (ISimpleFolder|NotFoundException)[]|CappedMemoryCache */ - private $folders; + private IRootFolder $rootFolder; + private SystemConfig $config; + private string $appId; + private ?Folder $folder = null; + /** @var CappedMemoryCache<ISimpleFolder|NotFoundException> */ + private CappedMemoryCache $folders; /** * AppData constructor. |