@@ -59,7 +59,7 @@ discard block  | 
                                                    ||
| 59 | 59 | 'region' => $this->config['amazon_s3']['region'],  | 
                                                        
| 60 | 60 | 'version' => '2006-03-01'  | 
                                                        
| 61 | 61 | ));  | 
                                                        
| 62 | - $fileSystem = new AmazonS3($service , $this->config['amazon_s3']['bucket'], 'public-read', $this->tmpDir);  | 
                                                        |
| 62 | + $fileSystem = new AmazonS3($service, $this->config['amazon_s3']['bucket'], 'public-read', $this->tmpDir);  | 
                                                        |
| 63 | 63 | |
| 64 | 64 | $acl = 'public-read';  | 
                                                        
| 65 | 65 | $allowedValues = [  | 
                                                        
@@ -71,14 +71,14 @@ discard block  | 
                                                    ||
| 71 | 71 | 'bucket-owner-full-control'  | 
                                                        
| 72 | 72 | ];  | 
                                                        
| 73 | 73 |          if (!empty($this->config['amazon_s3']['acl'])) { | 
                                                        
| 74 | -            if(!in_array($this->config['amazon_s3']['acl'], $allowedValues)){ | 
                                                        |
| 74 | +            if (!in_array($this->config['amazon_s3']['acl'], $allowedValues)) { | 
                                                        |
| 75 | 75 |                  throw new \Exception('Invalid S3 acl value.'); | 
                                                        
| 76 | 76 | }  | 
                                                        
| 77 | 77 | $acl = $this->config['amazon_s3']['acl'];  | 
                                                        
| 78 | 78 | }  | 
                                                        
| 79 | 79 | $bucket = $this->config['amazon_s3']['bucket'];  | 
                                                        
| 80 | 80 | |
| 81 | - $fileSystem = new AmazonS3($service , $bucket, $acl, $this->tmpDir);  | 
                                                        |
| 81 | + $fileSystem = new AmazonS3($service, $bucket, $acl, $this->tmpDir);  | 
                                                        |
| 82 | 82 | |
| 83 | 83 | |
| 84 | 84 | return $fileSystem;  |