Skip to content

Commit 7c6309b

Browse files
QuentinGabgithub-actions[bot]
authored andcommitted
Fix styling
1 parent bc3b158 commit 7c6309b

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

src/Commands/FixGrammarTranslationsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function promptForMissingArgumentsUsing()
6969
];
7070
}
7171

72-
function afterPromptingForMissingArguments(InputInterface $input, OutputInterface $output)
72+
public function afterPromptingForMissingArguments(InputInterface $input, OutputInterface $output)
7373
{
7474
if ($this->didReceiveOptions($input)) {
7575
return;

src/Commands/ShowMissingTranslationsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class ShowMissingTranslationsCommand extends Command implements PromptsForMissin
1111
{
1212
public $signature = 'translator:missing {locale : The locale of reference}';
1313

14-
public $description = "Show all missing translations present in the locale of reference but not in the others languages.";
14+
public $description = 'Show all missing translations present in the locale of reference but not in the others languages.';
1515

1616
public function handle(): int
1717
{

src/Commands/SortAllTranslationsCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function promptForMissingArgumentsUsing()
5757
];
5858
}
5959

60-
function afterPromptingForMissingArguments(InputInterface $input, OutputInterface $output)
60+
public function afterPromptingForMissingArguments(InputInterface $input, OutputInterface $output)
6161
{
6262
if ($this->didReceiveOptions($input)) {
6363
return;
@@ -70,7 +70,6 @@ function afterPromptingForMissingArguments(InputInterface $input, OutputInterfac
7070
->unique()
7171
->toArray();
7272

73-
7473
$input->setOption('namespaces', multiselect(
7574
label: 'What namespaces would you like to sort?',
7675
options: $options,

src/Commands/TranslateTranslationsCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function promptForMissingArgumentsUsing()
8888
];
8989
}
9090

91-
function afterPromptingForMissingArguments(InputInterface $input, OutputInterface $output)
91+
public function afterPromptingForMissingArguments(InputInterface $input, OutputInterface $output)
9292
{
9393
if ($this->didReceiveOptions($input)) {
9494
return;
@@ -115,7 +115,7 @@ function afterPromptingForMissingArguments(InputInterface $input, OutputInterfac
115115
}
116116

117117
if ($input->getOption('all') === false) {
118-
$input->setOption('all', !confirm(
118+
$input->setOption('all', ! confirm(
119119
label: 'Only translate missing keys?',
120120
no: 'No, translate all keys'
121121
));

0 commit comments

Comments
 (0)