$this->owner = $arguments['owner'];
}
- public function getOwner($path): string|false {
+ public function getOwner(string $path): string|false {
$owner = parent::getOwner($path);
if ($owner !== false) {
return $owner;
->method('getRelativePath')
->willReturn('/foo');
+ $this->info->expects($this->once())
+ ->method('getInternalPath')
+ ->willReturn('/foo');
+
$mountPoint->method('getMountPoint')
->willReturn('/user/files/mymountpoint');
->method('getMountPoint')
->willReturn($mountPoint);
+ $this->info->expects($this->once())
+ ->method('getInternalPath')
+ ->willReturn('/foo');
+
$mountPoint->method('getMountPoint')
->willReturn('/user/files/mymountpoint');