File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed
Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11<?php
2+
23return [
34 'placeholder-select ' => 'Select an option ' ,
45
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments