File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,12 @@ class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedSto
9797
9898 private string $ sourcePath = '' ;
9999
100+ /**
101+ * @psalm-suppress NonInvariantDocblockPropertyType
102+ * @var ?\OC\Files\Storage\Storage $storage
103+ */
104+ protected $ storage ;
105+
100106 public function __construct ($ arguments ) {
101107 $ this ->ownerView = $ arguments ['ownerView ' ];
102108 $ this ->logger = \OC ::$ server ->get (LoggerInterface::class);
@@ -132,6 +138,9 @@ private function getSourceRootInfo() {
132138 return $ this ->sourceRootInfo ;
133139 }
134140
141+ /**
142+ * @psalm-assert \OC\Files\Storage\Storage $this->storage
143+ */
135144 private function init () {
136145 if ($ this ->initialized ) {
137146 if (!$ this ->storage ) {
You can’t perform that action at this time.
0 commit comments