summaryrefslogtreecommitdiffstats
path: root/apps/files_external/3rdparty/icewind/smb/src/NativeStream.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/3rdparty/icewind/smb/src/NativeStream.php')
-rw-r--r--apps/files_external/3rdparty/icewind/smb/src/NativeStream.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/files_external/3rdparty/icewind/smb/src/NativeStream.php b/apps/files_external/3rdparty/icewind/smb/src/NativeStream.php
index 481395b025a..bce72001b5a 100644
--- a/apps/files_external/3rdparty/icewind/smb/src/NativeStream.php
+++ b/apps/files_external/3rdparty/icewind/smb/src/NativeStream.php
@@ -20,22 +20,22 @@ class NativeStream implements File {
/**
* @var \Icewind\SMB\NativeState
*/
- private $state;
+ protected $state;
/**
* @var resource
*/
- private $handle;
+ protected $handle;
/**
* @var bool
*/
- private $eof = false;
+ protected $eof = false;
/**
* @var string
*/
- private $url;
+ protected $url;
/**
* Wrap a stream from libsmbclient-php into a regular php stream
@@ -50,9 +50,9 @@ class NativeStream implements File {
stream_wrapper_register('nativesmb', '\Icewind\SMB\NativeStream');
$context = stream_context_create(array(
'nativesmb' => array(
- 'state' => $state,
+ 'state' => $state,
'handle' => $smbStream,
- 'url' => $url
+ 'url' => $url
)
));
$fh = fopen('nativesmb://', $mode, false, $context);