Skip to content

Commit 9b7efd7

Browse files
committed
try improving array lookup speed
1 parent 0ec4c19 commit 9b7efd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Commands/Build/Container.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function get(string $id): string|object
2020
if (isset($this->built[$id])) {
2121
return $this->built[$id];
2222
}
23-
return $this->build[$id] = match ($id) {
23+
return $this->built[$id] = match ($id) {
2424
//Cases,
2525
default => $this->fallbackContainer->get($id),
2626
};

0 commit comments

Comments
 (0)