@@ -104,7 +104,7 @@ discard block  | 
                                                    ||
| 104 | 104 |      { | 
                                                        
| 105 | 105 | $appConfig = $this->getAppConfig();  | 
                                                        
| 106 | 106 | |
| 107 | - $isDebug = (bool)($appConfig[A::KEY_IS_DEBUG] ?? false);  | 
                                                        |
| 107 | + $isDebug = (bool) ($appConfig[A::KEY_IS_DEBUG] ?? false);  | 
                                                        |
| 108 | 108 | |
| 109 | 109 | return [  | 
                                                        
| 110 | 110 | static::KEY_IS_DEBUG => $isDebug,  | 
                                                        
@@ -129,8 +129,8 @@ discard block  | 
                                                    ||
| 129 | 129 | */  | 
                                                        
| 130 | 130 | private function getTemplateNames(string $templatesFolder, string $templatesFileMask): array  | 
                                                        
| 131 | 131 |      { | 
                                                        
| 132 | -        return iterator_to_array(call_user_func(function () use ($templatesFolder, $templatesFileMask) { | 
                                                        |
| 133 | - $flags =  | 
                                                        |
| 132 | +        return iterator_to_array(call_user_func(function() use ($templatesFolder, $templatesFileMask) { | 
                                                        |
| 133 | + $flags =  | 
                                                        |
| 134 | 134 | RecursiveDirectoryIterator::SKIP_DOTS |  | 
                                                        
| 135 | 135 | RecursiveDirectoryIterator::FOLLOW_SYMLINKS |  | 
                                                        
| 136 | 136 | RecursiveDirectoryIterator::CURRENT_AS_FILEINFO;  | 
                                                        
@@ -138,8 +138,8 @@ discard block  | 
                                                    ||
| 138 | 138 |              foreach ($iterator as $found) { | 
                                                        
| 139 | 139 | /** @var SplFileInfo $found */  | 
                                                        
| 140 | 140 |                  if ($found->isFile() === true && fnmatch($templatesFileMask, $found->getFilename()) === true) { | 
                                                        
| 141 | - $fullFileName = $found->getPath() . DIRECTORY_SEPARATOR . $found->getFilename();  | 
                                                        |
| 142 | - $templateName = str_replace($templatesFolder . DIRECTORY_SEPARATOR, '', $fullFileName);  | 
                                                        |
| 141 | + $fullFileName = $found->getPath().DIRECTORY_SEPARATOR.$found->getFilename();  | 
                                                        |
| 142 | + $templateName = str_replace($templatesFolder.DIRECTORY_SEPARATOR, '', $fullFileName);  | 
                                                        |
| 143 | 143 | yield $templateName;  | 
                                                        
| 144 | 144 | }  | 
                                                        
| 145 | 145 | }  |