Skip to content

Commit c90a4e3

Browse files
icewind1991backportbot[bot]
authored andcommitted
update autoloader
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent 9c22310 commit c90a4e3

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

lib/composer/composer/autoload_classmap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -930,6 +930,7 @@
930930
'OC\\Files\\Storage\\Wrapper\\Wrapper' => $baseDir . '/lib/private/Files/Storage/Wrapper/Wrapper.php',
931931
'OC\\Files\\Stream\\Encryption' => $baseDir . '/lib/private/Files/Stream/Encryption.php',
932932
'OC\\Files\\Stream\\Quota' => $baseDir . '/lib/private/Files/Stream/Quota.php',
933+
'OC\\Files\\Stream\\SeekableHttpStream' => $baseDir . '/lib/private/Files/Stream/SeekableHttpStream.php',
933934
'OC\\Files\\Type\\Detection' => $baseDir . '/lib/private/Files/Type/Detection.php',
934935
'OC\\Files\\Type\\Loader' => $baseDir . '/lib/private/Files/Type/Loader.php',
935936
'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
@@ -964,6 +964,7 @@ class ComposerStaticInit53792487c5a8370acc0b06b1a864ff4c
964964
'OC\\Files\\Storage\\Wrapper\\Wrapper' => __DIR__ . '/../../..' . '/lib/private/Files/Storage/Wrapper/Wrapper.php',
965965
'OC\\Files\\Stream\\Encryption' => __DIR__ . '/../../..' . '/lib/private/Files/Stream/Encryption.php',
966966
'OC\\Files\\Stream\\Quota' => __DIR__ . '/../../..' . '/lib/private/Files/Stream/Quota.php',
967+
'OC\\Files\\Stream\\SeekableHttpStream' => __DIR__ . '/../../..' . '/lib/private/Files/Stream/SeekableHttpStream.php',
967968
'OC\\Files\\Type\\Detection' => __DIR__ . '/../../..' . '/lib/private/Files/Type/Detection.php',
968969
'OC\\Files\\Type\\Loader' => __DIR__ . '/../../..' . '/lib/private/Files/Type/Loader.php',
969970
'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)