updated streamline-setup v2

This commit is contained in:
2025-01-15 08:53:49 -08:00
committed by alec.turner
parent a2ce9248f0
commit 4b569f81b0
20228 changed files with 2932048 additions and 63204 deletions
@@ -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;