minor
This commit is contained in:
parent
3ea81cdba5
commit
a638e05f31
@ -27,7 +27,7 @@ class StudiesSync
|
||||
|
||||
private OrthancRestClient $client;
|
||||
|
||||
public function __construct(private readonly DicomServer $dicomServer, ?OrthancRestClient $client = null, private readonly int $maxInstances = 5)
|
||||
public function __construct(private readonly DicomServer $dicomServer, ?OrthancRestClient $client = null, private readonly int $maxInstances = 3)
|
||||
{
|
||||
$this->study_ids = collect();
|
||||
$this->client = $client ?? new OrthancRestClient($dicomServer);
|
||||
|
@ -95,7 +95,7 @@ private static function matchCondition(DicomRuleCondition $condition, array $dic
|
||||
|
||||
if (! $condition->case_sensitive) {
|
||||
$dicomValue = strtolower($dicomValue);
|
||||
if ($condition->match_mode != MatchMode::Regex) {
|
||||
if ($condition->match_mode !== MatchMode::Regex) {
|
||||
$searchPattern = strtolower($searchPattern);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user