Update packages/actions/src/Concerns/CanImportRecords.php

This commit is contained in:
Dan Harrin
2024-11-12 09:36:59 +00:00
committed by GitHub
parent b5d76132ef
commit aecbc3f9af
@@ -398,7 +398,7 @@ trait CanImportRecords
invade($s3Adapter)->client->registerStreamWrapper(); /** @phpstan-ignore-line */
$fileS3Path = str_replace('\\','/','s3://' . config("filesystems.disks.{$fileDisk}.bucket") . '/' . $filePath);
$fileS3Path = (string) str('s3://' . config("filesystems.disks.{$fileDisk}.bucket") . '/' . $filePath)->replace('\\', '/');
$resource = fopen($fileS3Path, mode: 'r', context: stream_context_create([
's3' => [