@@ -26,7 +26,7 @@  | 
                                                    ||
| 26 | 26 |      { | 
                                                        
| 27 | 27 | $result = '';  | 
                                                        
| 28 | 28 |          foreach ($paths as $path) { | 
                                                        
| 29 | -           $result .= "<script src='{$path}{$this->environment->getVersion()}'></script>\n"; | 
                                                        |
| 29 | +            $result .= "<script src='{$path}{$this->environment->getVersion()}'></script>\n"; | 
                                                        |
| 30 | 30 | }  | 
                                                        
| 31 | 31 | return $result;  | 
                                                        
| 32 | 32 | }  | 
                                                        
@@ -27,11 +27,11 @@  | 
                                                    ||
| 27 | 27 | */  | 
                                                        
| 28 | 28 | public static function getRender(string $type, Environment $environment, string $render = Assets::RENDER_HTML): RenderInterface  | 
                                                        
| 29 | 29 |      { | 
                                                        
| 30 | -        if(!isset(self::RENDERS[$render][$type])){ | 
                                                        |
| 30 | +        if (!isset(self::RENDERS[$render][$type])) { | 
                                                        |
| 31 | 31 |              throw new \Exception('Invalid render'); | 
                                                        
| 32 | 32 | }  | 
                                                        
| 33 | 33 | |
| 34 | - $renderClass = self::RENDERS[$render][$type];  | 
                                                        |
| 34 | + $renderClass = self::RENDERS[$render][$type];  | 
                                                        |
| 35 | 35 | |
| 36 | 36 | return new $renderClass($environment);  | 
                                                        
| 37 | 37 | |
@@ -17,7 +17,7 @@ discard block  | 
                                                    ||
| 17 | 17 | |
| 18 | 18 |          foreach ($this->assetsCollection as $asset) { | 
                                                        
| 19 | 19 | |
| 20 | -            if($asset->getPath() === false){ | 
                                                        |
| 20 | +            if ($asset->getPath() === false) { | 
                                                        |
| 21 | 21 | continue;  | 
                                                        
| 22 | 22 | }  | 
                                                        
| 23 | 23 | |
@@ -33,7 +33,7 @@ discard block  | 
                                                    ||
| 33 | 33 |              try { | 
                                                        
| 34 | 34 |                  if (!file_exists($symlink)) { | 
                                                        
| 35 | 35 | $this->createDirectory(pathinfo($symlink, PATHINFO_DIRNAME));  | 
                                                        
| 36 | - symlink($asset->getPath(), $symlink);  | 
                                                        |
| 36 | + symlink($asset->getPath(), $symlink);  | 
                                                        |
| 37 | 37 |                      $this->logger->info(sprintf('Create symlink: %s', $symlink)); | 
                                                        
| 38 | 38 | }  | 
                                                        
| 39 | 39 |              } catch (\Exception  $e) { | 
                                                        
@@ -49,7 +49,7 @@  | 
                                                    ||
| 49 | 49 | |
| 50 | 50 | private function isCacheValid(): bool  | 
                                                        
| 51 | 51 |      { | 
                                                        
| 52 | -        if($this->fileCreated){ | 
                                                        |
| 52 | +        if ($this->fileCreated) { | 
                                                        |
| 53 | 53 | return false;  | 
                                                        
| 54 | 54 | }  | 
                                                        
| 55 | 55 | return (filemtime($this->filePath) + $this->cacheTime) > time();  | 
                                                        
@@ -28,7 +28,7 @@  | 
                                                    ||
| 28 | 28 | public static function getStrategy(Environment $environment, array $assetsCollection, string $type): StrategyInterface  | 
                                                        
| 29 | 29 |      { | 
                                                        
| 30 | 30 | $strategy = $environment->getStrategy();  | 
                                                        
| 31 | -        if(!isset(self::STRATEGY[$strategy])){ | 
                                                        |
| 31 | +        if (!isset(self::STRATEGY[$strategy])) { | 
                                                        |
| 32 | 32 |              throw new \Exception('Invalid strategy'); | 
                                                        
| 33 | 33 | }  | 
                                                        
| 34 | 34 | $strategyClass = self::STRATEGY[$strategy];  |