We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f2baf5 commit b6e8f1eCopy full SHA for b6e8f1e
src/Illuminate/Filesystem/FilesystemManager.php
@@ -330,7 +330,7 @@ function (&$parent) use ($config) {
330
*/
331
protected function createFlysystem(FlysystemAdapter &$adapter, array $config)
332
{
333
- if (($config['read-only'] ?? false) === true) {
+ if ($config['read-only'] ?? false) {
334
$adapter = new ReadOnlyFilesystemAdapter($adapter);
335
}
336
0 commit comments