We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After setting up a media driver, given the 'scoped' option laravel/framework#44105, I am getting the following Exception
the issue seems to be \Plank\Mediable\UrlGenerators\UrlGeneratorFactory::getDriverForDisk, as it tries to parse the scoped driver
\Plank\Mediable\UrlGenerators\UrlGeneratorFactory::getDriverForDisk
protected function getDriverForDisk(string $disk): string { return (string) config("filesystems.disks.{$disk}.driver"); }
I suppose, a change like this, will do the job
protected function getDriverForDisk(string $disk): string { $getDriver= fn(string $disk)=> (string) config("filesystems.disks.{$disk}.driver"); $driver = $getDriver($disk); return $driver === 'scoped' ? $getDriver($driver['disk']) : $driver; }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
After setting up a media driver, given the 'scoped' option laravel/framework#44105, I am getting the following Exception
the issue seems to be
\Plank\Mediable\UrlGenerators\UrlGeneratorFactory::getDriverForDisk
, as it tries to parse the scoped driverI suppose, a change like this, will do the job
The text was updated successfully, but these errors were encountered: