Skip to content

Commit

Permalink
Fix coding style
Browse files Browse the repository at this point in the history
coding style check failed, due to CombineIfRector rule
  • Loading branch information
j-panzer committed Nov 22, 2023
1 parent 7adb10b commit 779957f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Service/OaiService.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,8 @@ public function start(): string
$this->errorAllowedArguments($requestArguments['verb'], $requestArguments);
}

if (!isset($requestArguments['from']) && isset($requestArguments['until'])) {
if (isset($this->oaiConfiguration['metadata_format_options'][$requestArguments['verb']]['requiredArguments'])) {
if (!isset($requestArguments['from']) && isset($requestArguments['until']) && isset($this->oaiConfiguration['metadata_format_options'][$requestArguments['verb']]['requiredArguments'])) {
$this->errorRequiredArguments($requestArguments['verb'], $requestArguments);
}
}

if ('GetRecord' === $requestArguments['verb']) {
Expand Down

0 comments on commit 779957f

Please sign in to comment.