This commit is contained in:
Dr Masroor Ehsan 2025-01-23 14:36:52 +06:00
parent 3ea81cdba5
commit a638e05f31
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);
}
}