Skip to content

Commit e22a28e

Browse files
committed
update autoloader
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent 3ba46f3 commit e22a28e

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

lib/composer/composer/autoload_classmap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,6 +1023,7 @@
10231023
'OC\\Files\\Storage\\Wrapper\\Wrapper' => $baseDir . '/lib/private/Files/Storage/Wrapper/Wrapper.php',
10241024
'OC\\Files\\Stream\\Encryption' => $baseDir . '/lib/private/Files/Stream/Encryption.php',
10251025
'OC\\Files\\Stream\\Quota' => $baseDir . '/lib/private/Files/Stream/Quota.php',
1026+
'OC\\Files\\Stream\\SeekableHttpStream' => $baseDir . '/lib/private/Files/Stream/SeekableHttpStream.php',
10261027
'OC\\Files\\Type\\Detection' => $baseDir . '/lib/private/Files/Type/Detection.php',
10271028
'OC\\Files\\Type\\Loader' => $baseDir . '/lib/private/Files/Type/Loader.php',
10281029
'OC\\Files\\Type\\TemplateManager' => $baseDir . '/lib/private/Files/Type/TemplateManager.php',

lib/composer/composer/autoload_static.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,6 +1052,7 @@ class ComposerStaticInit53792487c5a8370acc0b06b1a864ff4c
10521052
'OC\\Files\\Storage\\Wrapper\\Wrapper' => __DIR__ . '/../../..' . '/lib/private/Files/Storage/Wrapper/Wrapper.php',
10531053
'OC\\Files\\Stream\\Encryption' => __DIR__ . '/../../..' . '/lib/private/Files/Stream/Encryption.php',
10541054
'OC\\Files\\Stream\\Quota' => __DIR__ . '/../../..' . '/lib/private/Files/Stream/Quota.php',
1055+
'OC\\Files\\Stream\\SeekableHttpStream' => __DIR__ . '/../../..' . '/lib/private/Files/Stream/SeekableHttpStream.php',
10551056
'OC\\Files\\Type\\Detection' => __DIR__ . '/../../..' . '/lib/private/Files/Type/Detection.php',
10561057
'OC\\Files\\Type\\Loader' => __DIR__ . '/../../..' . '/lib/private/Files/Type/Loader.php',
10571058
'OC\\Files\\Type\\TemplateManager' => __DIR__ . '/../../..' . '/lib/private/Files/Type/TemplateManager.php',

lib/private/Files/Stream/SeekableHttpStream.php

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,14 @@ private function reconnect(int $start) {
110110
return true;
111111
}
112112

113-
function stream_open($path, $mode, $options, &$opened_path) {
113+
public function stream_open($path, $mode, $options, &$opened_path) {
114114
$options = stream_context_get_options($this->context)[self::PROTOCOL];
115115
$this->openCallback = $options['callback'];
116116

117117
return $this->reconnect(0);
118118
}
119119

120-
function stream_read($count) {
120+
public function stream_read($count) {
121121
if (!$this->current) {
122122
return false;
123123
}
@@ -126,7 +126,7 @@ function stream_read($count) {
126126
return $ret;
127127
}
128128

129-
function stream_seek($offset, $whence = SEEK_SET) {
129+
public function stream_seek($offset, $whence = SEEK_SET) {
130130
switch ($whence) {
131131
case SEEK_SET:
132132
if ($offset === $this->offset) {
@@ -144,19 +144,19 @@ function stream_seek($offset, $whence = SEEK_SET) {
144144
return false;
145145
}
146146

147-
function stream_tell() {
147+
public function stream_tell() {
148148
return $this->offset;
149149
}
150150

151-
function stream_stat() {
151+
public function stream_stat() {
152152
return fstat($this->current);
153153
}
154154

155-
function stream_eof() {
155+
public function stream_eof() {
156156
return feof($this->current);
157157
}
158158

159-
function stream_close() {
159+
public function stream_close() {
160160
fclose($this->current);
161161
}
162162

@@ -179,6 +179,4 @@ public function stream_lock($operation) {
179179
public function stream_flush() {
180180
return; //noop because readonly stream
181181
}
182-
183-
184182
}

0 commit comments

Comments
 (0)