Skip to content

Commit

Permalink
PHP Linting (Pint) - Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
sampoyigi authored and github-actions[bot] committed Jun 27, 2024
1 parent cfba2a1 commit b4893da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/System/Classes/LanguageManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ public function applyLanguagePack(string $locale, ?array $builds = null): array
$items = collect($this->updateManager->getInstalledItems())
->map(function($item) use ($builds) {
$item['build'] = array_get($builds, $item['name']);

return $item;
})
->all();
Expand Down
2 changes: 1 addition & 1 deletion src/System/Http/Controllers/Languages.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public function formExtendModel(Model $model)
Template::setButton(lang($hasNewStrings ? 'igniter::system.languages.button_apply_update' : 'igniter::system.languages.button_check'), [
'class' => 'btn btn-success pull-right',
'data-toggle' => 'record-editor',
'data-handler' => $hasNewStrings ? 'onApplyUpdates' : 'onCheckUpdates'
'data-handler' => $hasNewStrings ? 'onApplyUpdates' : 'onCheckUpdates',
]);
}

Expand Down

0 comments on commit b4893da

Please sign in to comment.