Skip to content

Commit a9f6903

Browse files
nikuscsgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 1c00975 commit a9f6903

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

resources/lang/en/translations.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
return [
34
'placeholder-select' => 'Select an option',
45

src/Core/Components/Select.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Select extends BaseComponent
1010

1111
public function toArray(): array
1212
{
13-
if(empty($this->getPlaceholder())){
13+
if (empty($this->getPlaceholder())) {
1414
$this->placeholder(trans('vanilla-components::translations.placeholder-select'));
1515
}
1616

src/Datatables/Concerns/HasPageOptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function perPageOptions(): array
2020
foreach ($this->perPageDefault as $index => $value) {
2121
$options[] = PerPageOption::make()
2222
->value($value)
23-
->label(trans('vanilla-components::translations.datatables.settingsPerPage',['count' => $value]))
23+
->label(trans('vanilla-components::translations.datatables.settingsPerPage', ['count' => $value]))
2424
->default(fn () => $index === 0);
2525
}
2626

src/Datatables/Concerns/HasTranslations.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ protected function getDefaultTranslations(): array
6363
'nextPage' => trans('vanilla-components::translations.datatables.nextPage'),
6464
'previousPage' => trans('vanilla-components::translations.datatables.previousPage'),
6565

66-
6766
];
6867
}
6968

0 commit comments

Comments
 (0)