Skip to content

Commit

Permalink
Remove isset
Browse files Browse the repository at this point in the history
  • Loading branch information
markusweigelt committed Aug 28, 2024
1 parent 5ff5c49 commit 0d7a82f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Validation/SaxonXslToSvrlValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class SaxonXslToSvrlValidator extends AbstractDlfValidator implements LoggerAwar
public function __construct(array $configuration)
{
parent::__construct(DOMDocument::class);
$this->jar = GeneralUtility::getFileAbsFileName(isset($configuration["jar"]) ?? '');
$this->xsl = GeneralUtility::getFileAbsFileName(isset($configuration["xsl"]) ?? '');
$this->jar = GeneralUtility::getFileAbsFileName($configuration["jar"] ?? '');
$this->xsl = GeneralUtility::getFileAbsFileName($configuration["xsl"] ?? '');
if (empty($this->jar)) {
$this->logger->error('Saxon JAR file not found.');
throw new InvalidArgumentException('Saxon JAR file not found.', 1723121212747);
Expand Down

0 comments on commit 0d7a82f

Please sign in to comment.