There was an error while loading. Please reload this page.
1 parent 0ace9a4 commit f46209aCopy full SHA for f46209a
1 file changed
apps/files_sharing/lib/SharedStorage.php
@@ -100,6 +100,12 @@ class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedSto
100
101
private static int $initDepth = 0;
102
103
+ /**
104
+ * @psalm-suppress NonInvariantDocblockPropertyType
105
+ * @var ?\OC\Files\Storage\Storage $storage
106
+ */
107
+ protected $storage;
108
+
109
public function __construct($arguments) {
110
$this->ownerView = $arguments['ownerView'];
111
$this->logger = \OC::$server->get(LoggerInterface::class);
@@ -135,6 +141,9 @@ private function getSourceRootInfo() {
135
141
return $this->sourceRootInfo;
136
142
}
137
143
144
145
+ * @psalm-assert \OC\Files\Storage\Storage $this->storage
146
138
147
private function init() {
139
148
if ($this->initialized) {
140
149
if (!$this->storage) {
0 commit comments