mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-10 15:12:12 +00:00
Fix PHPStan error: remove redundant null check on BulkSearchResponseDTO
This commit is contained in:
parent
0b6fc7bfa0
commit
3819cb07e3
1 changed files with 1 additions and 1 deletions
|
|
@ -482,7 +482,7 @@ class BulkInfoProviderImportController extends AbstractController
|
|||
$this->updatePartSearchResults($job, $searchResultsDto[0] ?? null);
|
||||
|
||||
// Prefetch details if requested
|
||||
if ($prefetchDetails && $searchResultsDto !== null) {
|
||||
if ($prefetchDetails) {
|
||||
$this->bulkService->prefetchDetailsForResults($searchResultsDto);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue