Skip to content

Commit

Permalink
Change parameters of NoTypeDetectedException because of php deprecati…
Browse files Browse the repository at this point in the history
…on messages (#4241)

Co-authored-by: Dore Pavlic <dore.pavlic@dewesoft.com>
  • Loading branch information
dorep and Dore Pavlic authored Nov 12, 2024
1 parent 4906dc5 commit 08fa5a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Factories/ReaderFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private static function identify(TemporaryFile $temporaryFile): string
try {
return IOFactory::identify($temporaryFile->getLocalPath());
} catch (Exception $e) {
throw new NoTypeDetectedException(null, null, $e);
throw new NoTypeDetectedException('', 0, $e);
}
}
}

0 comments on commit 08fa5a0

Please sign in to comment.