Skip to content

Commit e8c7a4e

Browse files
committed
Align to coding standards
1 parent 373d501 commit e8c7a4e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/StimulusBundle/src/AssetMapper/ControllersMapGenerator.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,8 @@ private function loadCustomControllers(): array
7070

7171
$controllersMap = [];
7272
foreach ($finder as $file) {
73-
7473
// Skip .ts controller if .js version is available
75-
if ($file->getExtension() === 'ts' && file_exists(substr($file->getRealPath(), 0, -2) . "js")) {
74+
if ('ts' === $file->getExtension() && file_exists(substr($file->getRealPath(), 0, -2).'js')) {
7675
continue;
7776
}
7877

0 commit comments

Comments
 (0)