mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 19:21:33 +00:00
updated streamline-setup v2
This commit is contained in:
@@ -48,6 +48,10 @@ final class ReferenceMap implements ReferenceMapInterface
|
||||
|
||||
public function contains(string $label): bool
|
||||
{
|
||||
if ($this->references === []) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$label = $this->normalizer->normalize($label);
|
||||
|
||||
return isset($this->references[$label]);
|
||||
@@ -55,6 +59,10 @@ final class ReferenceMap implements ReferenceMapInterface
|
||||
|
||||
public function get(string $label): ?ReferenceInterface
|
||||
{
|
||||
if ($this->references === []) {
|
||||
return null;
|
||||
}
|
||||
|
||||
$label = $this->normalizer->normalize($label);
|
||||
|
||||
return $this->references[$label] ?? null;
|
||||
|
||||
Reference in New Issue
Block a user