Skip to content

Commit db8a3ae

Browse files
hasonfabpot
authored andcommitted
[Debug] Show only unique class candidates
1 parent e1e4cfc commit db8a3ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Debug/FatalErrorHandler/ClassNotFoundFatalErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ private function getClassCandidates($class)
125125
}
126126
}
127127

128-
return $classes;
128+
return array_unique($classes);
129129
}
130130

131131
/**

0 commit comments

Comments
 (0)