Closed jbeales closed 3 years ago
Let's wait on this, it doesn't seem to have completely fixed my problem. I'll post back when I have figured out what's going on.
This was an error. I was using the wrong commit. The PR fixes the problem.
Thanks @jbeales !!
When uploading a large object the
swiftSegmentSize
config option gets passed around until it gets used to create a GuzzleHttp\Psr7\LimitStream, where it must be an integer. Having it as a string causes aTypeError
.I'm not sure when this changed, everything was working fine for me, but I updated some dependencies today and must have pulled in a new version of of either sausin/laravel-ovh or php-opencloud/openstack, and now the types don't agree.
It might be logical to change the
swiftLargeObjectThreshold
as an integer too, but it is not causing any problems as a string so I didn't change it.