Skip to content

Commit

Permalink
Scrutinizer Auto-Fixes
Browse files Browse the repository at this point in the history
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
  • Loading branch information
scrutinizer-auto-fixer committed May 26, 2020
1 parent db49063 commit 2ca64e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Http/RequestHandlers/ReportSetupPage.php
Expand Up @@ -144,7 +144,7 @@ public function handle(ServerRequestInterface $request): ResponseInterface
// Need to know if the user prefers DMY/MDY/YMD so we can validate dates properly.
$dmy = $this->localization_service->dateFormatToOrder(I18N::dateFormat());

$attributes += [
$attributes += [
'type' => 'text',
'value' => $input['default'],
'dir' => 'ltr',
Expand All @@ -158,15 +158,15 @@ public function handle(ServerRequestInterface $request): ResponseInterface
default:
switch ($input['type']) {
case 'text':
$attributes += [
$attributes += [
'type' => 'text',
'value' => $input['default'],
];
$input['control'] = '<input ' . Html::attributes($attributes) . '>';
break;

case 'checkbox':
$attributes += [
$attributes += [
'type' => 'checkbox',
'checked' => (bool) $input['default'],
];
Expand Down

0 comments on commit 2ca64e9

Please sign in to comment.