Skip to content
This repository was archived by the owner on May 22, 2023. It is now read-only.

Commit 4c4bf5c

Browse files
authored
Update BaseClassLoader.php
1 parent f159c26 commit 4c4bf5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/BaseClassLoader.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public function addPath(string $namespacePrefix, string $path, bool $prepend = f
4646
}else{
4747
$namespacePrefix = trim($namespacePrefix, '\\') . '\\';
4848
$this->psr4Lookup->synchronized(function() use ($namespacePrefix, $path, $prepend) : void{
49+
/** @var \Threaded|null $list */
4950
$list = $this->psr4Lookup[$namespacePrefix] ?? null;
5051
if($list === null){
5152
$list = $this->psr4Lookup[$namespacePrefix] = new \Threaded;

0 commit comments

Comments
 (0)