There was an error while loading. Please reload this page.
1 parent 53b8777 commit 05d54ccCopy full SHA for 05d54cc
1 file changed
apps/files_sharing/lib/SharedStorage.php
@@ -96,6 +96,12 @@ class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedSto
96
97
private string $sourcePath = '';
98
99
+ /**
100
+ * @psalm-suppress NonInvariantDocblockPropertyType
101
+ * @var ?\OC\Files\Storage\Storage $storage
102
+ */
103
+ protected $storage;
104
+
105
public function __construct($arguments) {
106
$this->ownerView = $arguments['ownerView'];
107
$this->logger = \OC::$server->get(LoggerInterface::class);
@@ -131,6 +137,9 @@ private function getSourceRootInfo() {
131
137
return $this->sourceRootInfo;
132
138
}
133
139
140
141
+ * @psalm-assert \OC\Files\Storage\Storage $this->storage
142
134
143
private function init() {
135
144
if ($this->initialized) {
136
145
if (!$this->storage) {
0 commit comments