Both the $myVar assignment in line 1 and the $higher assignment in line 2
are dead. The first because $myVar is never used and the second because
$higher is always overwritten for every possible time line.
Loading history...
46
foreach ($this->map as $namespace => $path) {
47
if ($namespace === $classFqn) {
48
continue;
49
}
50
51
if (0 === strpos($classFqn, $namespace)) {
52
return [$namespace, $path];
53
}
54
}
55
56
throw new \InvalidArgumentException(sprintf(
57
'Could not resolve path for class "%s" in namespaces: "%s"',