Skip to content

Commit b6e8f1e

Browse files
daniserSergey Danilchenko
andauthored
[12.x] Fix operator precedence (#57169)
Co-authored-by: Sergey Danilchenko <[email protected]>
1 parent 9f2baf5 commit b6e8f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Filesystem/FilesystemManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ function (&$parent) use ($config) {
330330
*/
331331
protected function createFlysystem(FlysystemAdapter &$adapter, array $config)
332332
{
333-
if (($config['read-only'] ?? false) === true) {
333+
if ($config['read-only'] ?? false) {
334334
$adapter = new ReadOnlyFilesystemAdapter($adapter);
335335
}
336336

0 commit comments

Comments
 (0)