mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
修正
This commit is contained in:
@@ -82,7 +82,7 @@ EOF;
|
|||||||
// dump($pathCode);
|
// dump($pathCode);
|
||||||
if (!isset($classMap[$class])) {
|
if (!isset($classMap[$class])) {
|
||||||
$classMap[$class] = $pathCode;
|
$classMap[$class] = $pathCode;
|
||||||
} elseif ($this->io && $classMap[$class] !== $pathCode && !preg_match('{/(test|fixture|example|stub)s?/}i', strtr($classMap[$class] . ' ' . $path, '\\', '/'))) {
|
} elseif ($classMap[$class] !== $pathCode && !preg_match('{/(test|fixture|example|stub)s?/}i', strtr($classMap[$class] . ' ' . $path, '\\', '/'))) {
|
||||||
$this->output->writeln(
|
$this->output->writeln(
|
||||||
'<warning>Warning: Ambiguous class resolution, "' . $class . '"' .
|
'<warning>Warning: Ambiguous class resolution, "' . $class . '"' .
|
||||||
' was found in both "' . str_replace(["',\n"], [
|
' was found in both "' . str_replace(["',\n"], [
|
||||||
|
|||||||
Reference in New Issue
Block a user