When working on updating phpstan for files_external_dropbox, this error is found:
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------
Line lib/Storage/Dropbox.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------
79 Property OCA\Files_external_dropbox\Storage\Dropbox::$flysystem (OCA\Files_external_dropbox\Storage\Adapter) does not accept League\Flysystem\Filesystem.
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------
The function including line 79 is:
/**
* Initialize the storage backend with a flyssytem adapter
* @override
* @param \League\Flysystem\Filesystem $fs
*/
public function setFlysystem($fs) {
$this->flysystem = $fs;
$this->flysystem->addPlugin(new \League\Flysystem\Plugin\GetWithMetadata());
}
And line 79 is:
When working on updating phpstan for files_external_dropbox, this error is found:
The function including line 79 is:
And line 79 is: