Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
rxcod9 authored and actions-user committed Mar 14, 2022
1 parent 69fdfce commit c86bd86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Actions/ImportAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function massAction($ids, $comingFrom)
]);
}

$disk = $this->disk ?? config('joy-voyager-import.disk');
$disk = $this->disk ?? config('joy-voyager-import.disk');
// @FIXME let me auto detect OR NOT??
$readerType = null; //$this->readerType ?? config('joy-voyager-import.readerType', Excel::XLSX);

Expand Down
2 changes: 1 addition & 1 deletion src/Http/Traits/ImportTemplateAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function importTemplate(Request $request)
}

$export = app($exportClass);

return $export->set(
$dataType,
[],
Expand Down
2 changes: 1 addition & 1 deletion src/Imports/DataTypeImport.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ public function model(array $item)
// @TODO check if not hash then use bcrypt
// Ignore if password is not set
if (($item[$row->field] ?? null)) {
$password = $item[$row->field] ?? null;
$password = $item[$row->field] ?? null;
$passwordInfo = password_get_info($password);
if ($passwordInfo['algo']) {
$data->{$row->field} = ($item[$row->field] ?? null);
Expand Down

0 comments on commit c86bd86

Please sign in to comment.