Skip to content

Commit

Permalink
magento#38684 - replace boolval() with (bool)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuranto committed Apr 30, 2024
1 parent 0856b89 commit 1a3e6ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/AwsS3/Driver/AwsS3Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private function prepareConfig(array $config)
}

if (!empty($config['path-style'])) {
$config['use_path_style_endpoint'] = boolval($config['path-style']);
$config['use_path_style_endpoint'] = (bool) $config['path-style'];
}

return $config;
Expand Down

0 comments on commit 1a3e6ea

Please sign in to comment.