Skip to content

Commit cc0be9d

Browse files
Fix CS
1 parent 295c006 commit cc0be9d

File tree

4 files changed

+29
-1
lines changed

4 files changed

+29
-1
lines changed

src/Translator/src/CacheWarmer/TranslationsCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function isOptional(): bool
3737
return true;
3838
}
3939

40-
public function warmUp(string $cacheDir, string $buildDir = null): array
40+
public function warmUp(string $cacheDir, ?string $buildDir = null): array
4141
{
4242
$catalogues = $this->translatorBag->getCatalogues();
4343
$this->webpackTranslationsDumper->dump(...$catalogues);

src/Translator/src/FileDumper/TranslationFileDumperInterface.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace Symfony\UX\Translator\FileDumper;
413

514
use Symfony\Component\Translation\MessageCatalogueInterface;

src/Translator/tests/fixtures/catalogue_en.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
<?php
2+
3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
212
return [
313
'messages+intl-icu' => [
414
'notification.comment_created' => 'Your post received a comment!',

src/Translator/tests/fixtures/catalogue_fr.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
return [
413
'messages+intl-icu' => [
514
'notification.comment_created' => 'Votre article a reçu un commentaire !',

0 commit comments

Comments
 (0)