Skip to content

Commit 894a5e8

Browse files
daniserSergey Danilchenko
authored andcommitted
[12.x] Track filesystem adapter decoration (#57167)
Co-authored-by: Sergey Danilchenko <s.danilchenko@ttbooking.ru>
1 parent c2b9648 commit 894a5e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Filesystem/FilesystemManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ function (&$parent) use ($config) {
328328
* @param array $config
329329
* @return \League\Flysystem\FilesystemOperator
330330
*/
331-
protected function createFlysystem(FlysystemAdapter $adapter, array $config)
331+
protected function createFlysystem(FlysystemAdapter &$adapter, array $config)
332332
{
333333
if ($config['read-only'] ?? false) {
334334
$adapter = new ReadOnlyFilesystemAdapter($adapter);

0 commit comments

Comments
 (0)