When using the provider with json credentials, it fails because GoogleCloudStorageAdaptor requires StorageClient as first param, but ServiceBuilder is given instead.
When adding the config to $adapterConfiguration like in case of project_id and leaving $optionalServiceBuilder as null, then it works just fine.
I think the references to optionalServiceBuilder can be entirely left out, because they don't seem to do anything.
When using the provider with json credentials, it fails because GoogleCloudStorageAdaptor requires StorageClient as first param, but ServiceBuilder is given instead.
When adding the config to $adapterConfiguration like in case of project_id and leaving $optionalServiceBuilder as null, then it works just fine.
I think the references to optionalServiceBuilder can be entirely left out, because they don't seem to do anything.